public class MemoryBlobStore extends AbstractBlobStore
AbstractBlobStore.BlockId, AbstractBlobStore.Data| Constructor and Description |
|---|
MemoryBlobStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Clear the cache.
|
long |
countDeleteChunks(List<String> chunkIds,
long maxLastModifiedTime)
Ignores the maxlastModifiedTime
|
Iterator<String> |
getAllChunkIds(long maxLastModifiedTime)
Ignores the maxlastModifiedTime
|
void |
startMark()
Start the mark phase.
|
int |
sweep()
Remove all unused blocks.
|
clearInUse, close, deleteChunks, getBlobId, getBlobLength, getBlockSize, getBlockSizeMin, getInputStream, getReference, load, readBlob, resolveChunks, setBlockSize, setBlockSizeMin, setReferenceKey, setReferenceKeyEncoded, setReferenceKeyPlainText, setStatsCollector, writeBlob, writeBlob, writeBlobpublic void startMark()
throws IOException
GarbageCollectableBlobStorestartMark in interface GarbageCollectableBlobStorestartMark in class AbstractBlobStoreIOExceptionpublic int sweep()
GarbageCollectableBlobStoresweep in interface GarbageCollectableBlobStoresweep in class AbstractBlobStorepublic long countDeleteChunks(List<String> chunkIds, long maxLastModifiedTime) throws Exception
chunkIds - the chunk idsmaxLastModifiedTime - the max last modified time to consider for retrieval,
with the special value '0' meaning no filtering by timeException - the exceptionpublic Iterator<String> getAllChunkIds(long maxLastModifiedTime) throws Exception
maxLastModifiedTime - the max last modified time to consider for retrieval,
with the special value '0' meaning no filtering by timeException - the exceptionpublic void clearCache()
GarbageCollectableBlobStoreCopyright © 2010 - 2020 Adobe. All Rights Reserved