Class BlackHoleStorageEngine
- java.lang.Object
-
- com.linkedin.davinci.store.AbstractStorageEngine<BlackHoleStorageEnginePartition>
-
- com.linkedin.davinci.store.blackhole.BlackHoleStorageEngine
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class BlackHoleStorageEngine extends AbstractStorageEngine<BlackHoleStorageEnginePartition>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.linkedin.davinci.store.AbstractStorageEngine
AbstractStorageEngine.StoragePartitionAdjustmentTrigger
-
-
Field Summary
-
Fields inherited from class com.linkedin.davinci.store.AbstractStorageEngine
METADATA_PARTITION_ID
-
-
Constructor Summary
Constructors Constructor Description BlackHoleStorageEngine(java.lang.String storeVersionName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlackHoleStorageEnginePartition
createStoragePartition(StoragePartitionConfig storagePartitionConfig)
java.util.Set<java.lang.Integer>
getPersistedPartitionIds()
long
getStoreSizeInBytes()
PersistenceType
getType()
-
Methods inherited from class com.linkedin.davinci.store.AbstractStorageEngine
addStoragePartition, addStoragePartition, adjustStoragePartition, beginBatchWrite, checkDatabaseIntegrity, clearPartitionOffset, clearStoreVersionState, close, closeMetadataPartition, closePartition, containsPartition, createSnapshot, delete, deleteWithReplicationMetadata, drop, dropMetadataPartition, dropPartition, endBatchWrite, get, get, get, getByKeyPrefix, getCachedRMDSizeInBytes, getCachedStoreSizeInBytes, getCompressionStrategy, getIterator, getMetadataPartition, getNumberOfPartitions, getPartitionIds, getPartitionOffset, getPartitionOrThrow, getPartitionSizeInBytes, getReplicationMetadata, getRMDSizeInBytes, getRWLockForPartitionOrThrow, getStoreVersionName, getStoreVersionState, hasMemorySpaceLeft, isChunked, isClosed, isMetadataPartition, put, put, put, putPartitionOffset, putReplicationMetadata, putStoreVersionState, putWithReplicationMetadata, reopenStoragePartition, restoreStoragePartitions, restoreStoragePartitions, suppressLogs, sync, toString, updateStoreVersionStateCache
-
-
-
-
Method Detail
-
getType
public PersistenceType getType()
- Specified by:
getType
in classAbstractStorageEngine<BlackHoleStorageEnginePartition>
-
getPersistedPartitionIds
public java.util.Set<java.lang.Integer> getPersistedPartitionIds()
- Specified by:
getPersistedPartitionIds
in classAbstractStorageEngine<BlackHoleStorageEnginePartition>
-
createStoragePartition
public BlackHoleStorageEnginePartition createStoragePartition(StoragePartitionConfig storagePartitionConfig)
- Specified by:
createStoragePartition
in classAbstractStorageEngine<BlackHoleStorageEnginePartition>
-
getStoreSizeInBytes
public long getStoreSizeInBytes()
- Specified by:
getStoreSizeInBytes
in classAbstractStorageEngine<BlackHoleStorageEnginePartition>
-
-