Package org.nuxeo.ecm.core.storage.sql
Class S3BinaryManager.S3BinaryGarbageCollector
- java.lang.Object
-
- org.nuxeo.ecm.blob.AbstractBinaryGarbageCollector<S3BinaryManager>
-
- org.nuxeo.ecm.core.storage.sql.S3BinaryManager.S3BinaryGarbageCollector
-
- All Implemented Interfaces:
BinaryGarbageCollector
- Enclosing class:
- S3BinaryManager
public static class S3BinaryManager.S3BinaryGarbageCollector extends AbstractBinaryGarbageCollector<S3BinaryManager>
Garbage collector for S3 binaries that stores the marked (in use) binaries in memory.
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.blob.AbstractBinaryGarbageCollector
binaryManager, marked, startTime, status
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
S3BinaryGarbageCollector(S3BinaryManager binaryManager)
-
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>
getUnmarkedBlobs()
-
Methods inherited from class org.nuxeo.ecm.blob.AbstractBinaryGarbageCollector
getStatus, isInProgress, mark, start, stop
-
-
-
-
Constructor Detail
-
S3BinaryGarbageCollector
protected S3BinaryGarbageCollector(S3BinaryManager binaryManager)
-
-
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
-
getUnmarkedBlobs
public Set<String> getUnmarkedBlobs()
- Specified by:
getUnmarkedBlobs
in classAbstractBinaryGarbageCollector<S3BinaryManager>
-
-