Package org.nuxeo.ecm.blob.s3
Class S3BlobStore.S3BlobGarbageCollector
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.AbstractBlobGarbageCollector
-
- org.nuxeo.ecm.blob.s3.S3BlobStore.S3BlobGarbageCollector
-
- All Implemented Interfaces:
BinaryGarbageCollector
- Enclosing class:
- S3BlobStore
public class S3BlobStore.S3BlobGarbageCollector extends AbstractBlobGarbageCollector
Garbage collector for S3 binaries that stores the marked (in use) binaries in memory.
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.blob.AbstractBlobGarbageCollector
marked, startTime, status
-
-
Constructor Summary
Constructors Constructor Description S3BlobGarbageCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Gets a unique identifier for this garbage collector.Set<String>
getUnmarkedBlobsAndUpdateStatus()
void
removeBlobs(Set<String> keys)
-
Methods inherited from class org.nuxeo.ecm.core.blob.AbstractBlobGarbageCollector
getStatus, isInProgress, mark, removeUnmarkedBlobsAndUpdateStatus, start, stop
-
-
-
-
Constructor Detail
-
S3BlobGarbageCollector
public S3BlobGarbageCollector()
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:BinaryGarbageCollector
Gets a unique identifier for this garbage collector. Two garbage collectors that would impact the same files must have the same identifier.- Returns:
- a unique identifier
-
getUnmarkedBlobsAndUpdateStatus
public Set<String> getUnmarkedBlobsAndUpdateStatus()
- Overrides:
getUnmarkedBlobsAndUpdateStatus
in classAbstractBlobGarbageCollector
-
removeBlobs
public void removeBlobs(Set<String> keys)
- Overrides:
removeBlobs
in classAbstractBlobGarbageCollector
-
-