Class InMemoryStorageEngine
java.lang.Object
com.linkedin.davinci.store.AbstractStorageEngine<InMemoryStoragePartition>
com.linkedin.davinci.store.memory.InMemoryStorageEngine
- All Implemented Interfaces:
StorageEngine<InMemoryStoragePartition>,Closeable,AutoCloseable
A simple non-persistent, in-memory store.
-
Field Summary
Fields inherited from class com.linkedin.davinci.store.AbstractStorageEngine
METADATA_PARTITION_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateStoragePartition(StoragePartitionConfig storagePartitionConfig) getType()Methods inherited from class com.linkedin.davinci.store.AbstractStorageEngine
addStoragePartition, addStoragePartitionIfAbsent, adjustStoragePartition, beginBatchWrite, checkDatabaseIntegrity, clearPartitionOffset, clearStoreVersionState, close, closeMetadataPartition, closePartition, containsPartition, delete, deleteWithReplicationMetadata, drop, dropPartition, dropPartition, endBatchWrite, executeWithSafeGuard, get, get, get, getByKeyPrefix, getIterator, getMetadataPartition, getNumberOfPartitions, getPartitionIds, getPartitionOffset, getPartitionOrThrow, getPartitions, getReplicationMetadata, getRWLockForPartitionOrThrow, getStoreVersionName, getStoreVersionState, isClosed, put, put, putPartitionOffset, putReplicationMetadata, putStoreVersionState, putWithReplicationMetadata, reopenStoragePartition, restoreStoragePartitions, restoreStoragePartitions, suppressLogs, sync, toString, updateStoreVersionStateCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.linkedin.davinci.store.StorageEngine
getStats
-
Constructor Details
-
InMemoryStorageEngine
-
InMemoryStorageEngine
-
-
Method Details
-
getType
-
getPersistedPartitionIds
-
createStoragePartition
public InMemoryStoragePartition createStoragePartition(StoragePartitionConfig storagePartitionConfig) - Specified by:
createStoragePartitionin classAbstractStorageEngine<InMemoryStoragePartition>
-