public class PersistentSplitStorageEngine<K,V> extends SplitStorageEngine<K,V> implements PersistentStorageEngine<K,V>
StorageEngine.OwnerkeyStorageEngine, valueStorageEngine| Constructor and Description |
|---|
PersistentSplitStorageEngine(PersistentHalfStorageEngine<K> keyStorageEngine,
PersistentHalfStorageEngine<V> valueStorageEngine) |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap(ObjectInput input) |
void |
close() |
static <K,V> Factory<PersistentSplitStorageEngine<K,V>> |
createPersistentFactory(Factory<? extends PersistentHalfStorageEngine<K>> keyFactory,
Factory<? extends PersistentHalfStorageEngine<V>> valueFactory) |
void |
flush() |
void |
persist(ObjectOutput output) |
attachedMapping, bind, clear, createFactory, destroy, encoding, equalsKey, equalsValue, freeMapping, getAllocatedMemory, getDataSize, getOccupiedMemory, getVitalMemory, invalidateCache, keyEncoding, readKey, readValue, shrink, toString, valueEncoding, writeMappingclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitattachedMapping, bind, clear, destroy, equalsKey, equalsValue, freeMapping, getAllocatedMemory, getDataSize, getOccupiedMemory, getVitalMemory, invalidateCache, readKey, readValue, shrink, writeMappingpublic PersistentSplitStorageEngine(PersistentHalfStorageEngine<K> keyStorageEngine, PersistentHalfStorageEngine<V> valueStorageEngine)
public static <K,V> Factory<PersistentSplitStorageEngine<K,V>> createPersistentFactory(Factory<? extends PersistentHalfStorageEngine<K>> keyFactory, Factory<? extends PersistentHalfStorageEngine<V>> valueFactory)
public void flush()
throws IOException
flush in interface PersistentIOExceptionpublic void close()
throws IOException
close in interface PersistentIOExceptionpublic void persist(ObjectOutput output) throws IOException
persist in interface PersistentIOExceptionpublic void bootstrap(ObjectInput input) throws IOException
bootstrap in interface PersistentIOExceptionCopyright © 2015–2024. All rights reserved.