public interface GarbageCollectableBlobStore extends BlobStore
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache()
Clear the cache.
|
void |
clearInUse()
Clear all objects marked as "transiently in use".
|
long |
getBlockSizeMin()
Get the minimum block size (if there is any).
|
void |
setBlockSize(int x)
Set the block size used by this blob store, if the blob store splits
binaries into blocks.
|
void |
startMark()
Start the mark phase.
|
int |
sweep()
Remove all unused blocks.
|
String |
writeBlob(String tempFileName)
Write a blob from a temporary file.
|
getBlobLength, readBlob, writeBlobvoid setBlockSize(int x)
x - the block size in bytes.String writeBlob(String tempFileName) throws IOException
tempFilePath - the temporary fileIOExceptionint sweep()
throws IOException
IOExceptionvoid startMark()
throws IOException
IOExceptionvoid clearInUse()
void clearCache()
long getBlockSizeMin()
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.