Package org.nuxeo.ecm.core.storage.gcp
Class GoogleStorageBinaryManager.GoogleStorageBinaryGarbageCollector
- java.lang.Object
-
- org.nuxeo.ecm.blob.AbstractBinaryGarbageCollector<GoogleStorageBinaryManager>
-
- org.nuxeo.ecm.core.storage.gcp.GoogleStorageBinaryManager.GoogleStorageBinaryGarbageCollector
-
- All Implemented Interfaces:
BinaryGarbageCollector
- Enclosing class:
- GoogleStorageBinaryManager
public static class GoogleStorageBinaryManager.GoogleStorageBinaryGarbageCollector extends AbstractBinaryGarbageCollector<GoogleStorageBinaryManager>
Garbage collector for GCP 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
GoogleStorageBinaryGarbageCollector(GoogleStorageBinaryManager 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
-
GoogleStorageBinaryGarbageCollector
protected GoogleStorageBinaryGarbageCollector(GoogleStorageBinaryManager 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<GoogleStorageBinaryManager>
-
-