public class PersistentRestartableStorageEngine<T extends PersistentStorageEngine<K,LinkedNode<V>> & BinaryStorageEngine,I,K,V> extends RestartableStorageEngine<T,I,K,V> implements PersistentStorageEngine<K,V>
StorageEngine.OwnerdelegateStorageEngine, identifier, NULL_ENCODING, owner, synchronous, transactionSource| Constructor and Description |
|---|
PersistentRestartableStorageEngine(I identifier,
com.terracottatech.frs.RestartStore<I,ByteBuffer,ByteBuffer> transactionSource,
T storageEngine,
boolean synchronous) |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap(ObjectInput input) |
void |
close() |
static <T extends PersistentStorageEngine<K,LinkedNode<V>> & BinaryStorageEngine,I,K,V> |
createPersistentFactory(I identifier,
com.terracottatech.frs.RestartStore<I,ByteBuffer,ByteBuffer> transactionSource,
Factory<T> delegateFactory,
boolean synchronous) |
void |
flush() |
void |
persist(ObjectOutput output) |
acquireCompactionEntry, assignLsn, attachedMapping, bind, clear, createFactory, decodeKey, decodeValue, deriveMetadata, destroy, encodeKey, encodeValue, encodingSet, equalsBinaryKey, equalsKey, equalsValue, evict, extractEncoding, extractHashcode, extractMetadata, firstEncoding, freeMapping, getAllocatedMemory, getDataSize, getEncodingForHashAndBinary, getLowestLsn, getLsn, getOccupiedMemory, getSize, getSlotForHashAndEncoding, getVitalMemory, installMappingForHashAndEncoding, invalidateCache, isThiefForTableAllocations, lastEncoding, linkNodeExpectingFirst, linkNodeExpectingLast, put, readBinaryKey, readBinaryValue, readKey, readKeyHash, readLock, readValue, releaseCompactionEntry, remove, replayPut, restartabilityPut, shrink, size, sizeInBytes, unlinkNode, updateEncoding, updateLsn, validChain, writeBinaryMapping, writeBinaryMapping, writeLock, writeMappingfireCleared, fireCopied, fireFreed, fireRecovered, fireWritten, hasListeners, hasRecoveryListeners, registerListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattachedMapping, bind, clear, destroy, equalsKey, equalsValue, freeMapping, getAllocatedMemory, getDataSize, getOccupiedMemory, getVitalMemory, invalidateCache, readKey, readValue, shrink, writeMappingpublic PersistentRestartableStorageEngine(I identifier, com.terracottatech.frs.RestartStore<I,ByteBuffer,ByteBuffer> transactionSource, T storageEngine, boolean synchronous)
public static <T extends PersistentStorageEngine<K,LinkedNode<V>> & BinaryStorageEngine,I,K,V> Factory<PersistentRestartableStorageEngine<T,I,K,V>> createPersistentFactory(I identifier, com.terracottatech.frs.RestartStore<I,ByteBuffer,ByteBuffer> transactionSource, Factory<T> delegateFactory, boolean synchronous)
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.