Package org.nuxeo.ecm.blob.azure
Class AzureGarbageCollector
- java.lang.Object
-
- org.nuxeo.ecm.blob.AbstractBinaryGarbageCollector<AzureBinaryManager>
-
- org.nuxeo.ecm.blob.azure.AzureGarbageCollector
-
- All Implemented Interfaces:
BinaryGarbageCollector
public class AzureGarbageCollector extends AbstractBinaryGarbageCollector<AzureBinaryManager>
- Since:
- 7.10
- Author:
- Arnaud Kervern
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.blob.AbstractBinaryGarbageCollector
binaryManager, marked, startTime, status, toDelete
-
-
Constructor Summary
Constructors Constructor Description AzureGarbageCollector(AzureBinaryManager binaryManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeToDelete()
Computes keys candidate for deletion.String
getId()
Gets a unique identifier for this garbage collector.static boolean
isMD5(String digest)
protected void
removeUnmarkedBlobsAndUpdateStatus(boolean delete)
-
Methods inherited from class org.nuxeo.ecm.blob.AbstractBinaryGarbageCollector
getStatus, getUnmarkedBlobs, isInProgress, mark, start, stop
-
-
-
-
Constructor Detail
-
AzureGarbageCollector
public AzureGarbageCollector(AzureBinaryManager 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
-
computeToDelete
public void computeToDelete()
Description copied from class:AbstractBinaryGarbageCollector
Computes keys candidate for deletion.Overrides should not call super (this allows detecting old implementations).
- Overrides:
computeToDelete
in classAbstractBinaryGarbageCollector<AzureBinaryManager>
- Since:
- 11.5
-
removeUnmarkedBlobsAndUpdateStatus
protected void removeUnmarkedBlobsAndUpdateStatus(boolean delete)
- Overrides:
removeUnmarkedBlobsAndUpdateStatus
in classAbstractBinaryGarbageCollector<AzureBinaryManager>
- Since:
- 11.5
-
isMD5
public static boolean isMD5(String digest)
-
-