@ProviderType 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 |
countDeleteChunks(java.util.List<java.lang.String> chunkIds,
long maxLastModifiedTime)
Deletes the blobs with the given ids.
|
boolean |
deleteChunks(java.util.List<java.lang.String> chunkIds,
long maxLastModifiedTime)
Deprecated.
|
java.util.Iterator<java.lang.String> |
getAllChunkIds(long maxLastModifiedTime)
Gets all the identifiers.
|
long |
getBlockSizeMin()
Get the minimum block size (if there is any).
|
java.util.Iterator<java.lang.String> |
resolveChunks(java.lang.String blobId)
Resolve chunks stored in the blob store from the given Id.
|
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.
|
java.lang.String |
writeBlob(java.lang.String tempFileName)
Write a blob from a temporary file.
|
getBlobId, getBlobLength, getInputStream, getReference, readBlob, writeBlob, writeBlobvoid setBlockSize(int x)
x - the block size in bytes.java.lang.String writeBlob(java.lang.String tempFileName)
throws java.io.IOException
tempFileName - the temporary file namejava.io.IOExceptionint sweep() throws java.io.IOException
java.io.IOExceptionvoid startMark()
throws java.io.IOException
java.io.IOExceptionvoid clearInUse()
void clearCache()
long getBlockSizeMin()
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 exception@Deprecated
boolean deleteChunks(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 exceptionlong 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 exceptionjava.util.Iterator<java.lang.String> resolveChunks(java.lang.String blobId)
throws java.io.IOException
blobId - the blob idjava.io.IOException - Signals that an I/O exception has occurred.Copyright © 2010 - 2023 Adobe. All Rights Reserved