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(java.util.List<java.lang.String> chunkIds,
long maxLastModifiedTime)
Ignores the maxlastModifiedTime
|
java.util.Iterator<java.lang.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 java.io.IOException
GarbageCollectableBlobStorestartMark in interface GarbageCollectableBlobStorestartMark in class AbstractBlobStorejava.io.IOExceptionpublic int sweep()
GarbageCollectableBlobStoresweep in interface GarbageCollectableBlobStoresweep in class AbstractBlobStorepublic long countDeleteChunks(java.util.List<java.lang.String> chunkIds,
long maxLastModifiedTime)
throws java.lang.Exception
chunkIds - the chunk idsmaxLastModifiedTime - the max last modified time to consider for retrieval,
with the special value '0' meaning no filtering by timejava.lang.Exception - the exceptionpublic java.util.Iterator<java.lang.String> getAllChunkIds(long maxLastModifiedTime)
throws java.lang.Exception
maxLastModifiedTime - the max last modified time to consider for retrieval,
with the special value '0' meaning no filtering by timejava.lang.Exception - the exceptionpublic void clearCache()
GarbageCollectableBlobStoreCopyright © 2010 - 2023 Adobe. All Rights Reserved