Class CacheAccess<K,​V>

    • Constructor Detail

      • CacheAccess

        public CacheAccess​(String cacheId,
                           String cacheRegion)
    • Method Detail

      • getSerializerByName

        public static <T> org.mapdb.serializer.GroupSerializer<T> getSerializerByName​(String name)
      • get

        public abstract V get​(K key)
      • put

        public abstract boolean put​(K key,
                                    V value)
      • isReadOnly

        public abstract boolean isReadOnly()
      • isClosed

        public abstract boolean isClosed()
      • commit

        public abstract void commit()
        Committing the cache contents to file. This is the operation that makes the index actually persistent.