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> | cacheIn-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, toStringaddAllReferences, 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, valueOfclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainerFor, containerOf, removeContainerallInstancesOf, allInstancesOf, metaClassFor, metaClassOfaddAllValues, addValue, allValuesOf, appendAllValues, appendValue, removeAllValues, removeValue, sizeOfValue, valueFor, valueOfremoveValue, valueFor, valueOfaddAllReferences, addReference, allReferencesOf, appendAllReferences, appendReference, referenceFor, referenceOf, removeAllReferences, removeReference, sizeOfReferencereferenceFor, referenceOf, removeReferenceprotected AbstractCachingStore()
AbstractCachingStore.public void close()
SaveableCleanly 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 Saveableclose in interface Closeableclose in interface AutoCloseableclose in class AbstractDataMapperChain<Store>Copyright © 2013–2019 Atlanmod. All rights reserved.