K
- the type of keys maintained by the cacheV
- the type of cached values@ParametersAreNonnullByDefault public abstract class AbstractCachingStore<K,V> extends AbstractStore
Modifier and Type | Field and Description |
---|---|
protected Cache<K,V> |
cache
In-memory cache that holds loaded values, identified by their key.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractCachingStore()
Constructs a new
AbstractCachingStore . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Cleanly closes this manager, clear all data in-memory and releases any system resources associated with it.
|
backend, compareTo, equals, hashCode, next, toString
addAllReferences, addAllValues, addReference, addValue, allInstancesOf, allInstancesOf, allReferencesOf, allValuesOf, appendAllReferences, appendAllValues, appendReference, appendValue, containerFor, containerOf, copyTo, metaClassFor, metaClassOf, next, referenceFor, referenceFor, referenceOf, referenceOf, removeAllReferences, removeAllValues, removeContainer, removeReference, removeReference, removeValue, removeValue, save, sizeOfReference, sizeOfValue, valueFor, valueFor, valueOf, valueOf
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
containerFor, containerOf, removeContainer
allInstancesOf, allInstancesOf, metaClassFor, metaClassOf
addAllValues, addValue, allValuesOf, appendAllValues, appendValue, removeAllValues, removeValue, sizeOfValue, valueFor, valueOf
removeValue, valueFor, valueOf
addAllReferences, addReference, allReferencesOf, appendAllReferences, appendReference, referenceFor, referenceOf, removeAllReferences, removeReference, sizeOfReference
referenceFor, referenceOf, removeReference
protected AbstractCachingStore()
AbstractCachingStore
.public void close()
Saveable
Cleanly closes this manager, clear all data in-memory and releases any system resources associated with it. All modifications are saved before closing.
If the manager is already closed, then invoking this method has no effect.
close
in interface Saveable
close
in interface Closeable
close
in interface AutoCloseable
close
in class AbstractDataMapperChain<Store>
Copyright © 2013–2019 Atlanmod. All rights reserved.