public class MemoryBlobStore extends AbstractBlobStore
AbstractBlobStore.BlockId, AbstractBlobStore.Data
Constructor and Description |
---|
MemoryBlobStore() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clear the cache.
|
boolean |
deleteChunks(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, getBlobId, getBlobLength, getBlockSize, getBlockSizeMin, getInputStream, getReference, load, readBlob, resolveChunks, setBlockSize, setBlockSizeMin, setReferenceKey, setReferenceKeyEncoded, setReferenceKeyPlainText, writeBlob, writeBlob
public void startMark() throws IOException
GarbageCollectableBlobStore
startMark
in interface GarbageCollectableBlobStore
startMark
in class AbstractBlobStore
IOException
public int sweep()
GarbageCollectableBlobStore
sweep
in interface GarbageCollectableBlobStore
sweep
in class AbstractBlobStore
public boolean deleteChunks(List<String> chunkIds, long maxLastModifiedTime) throws Exception
chunkIds
- the chunk idsmaxLastModifiedTime
- the max last modified time to consider for retrievalException
- the exceptionpublic Iterator<String> getAllChunkIds(long maxLastModifiedTime) throws Exception
maxLastModifiedTime
- the max last modified time to consider for retrievalException
- the exceptionpublic void clearCache()
GarbageCollectableBlobStore
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"