Package org.nuxeo.ecm.blob.azure
Class AzureBlobStore.AzureBlobGarbageCollector
- java.lang.Object
 - 
- org.nuxeo.ecm.core.blob.AbstractBlobGarbageCollector
 - 
- org.nuxeo.ecm.blob.azure.AzureBlobStore.AzureBlobGarbageCollector
 
 
 
- 
- All Implemented Interfaces:
 BinaryGarbageCollector
- Enclosing class:
 - AzureBlobStore
 
public class AzureBlobStore.AzureBlobGarbageCollector extends AbstractBlobGarbageCollector
 
- 
- 
Field Summary
- 
Fields inherited from class org.nuxeo.ecm.core.blob.AbstractBlobGarbageCollector
marked, startTime, status, toDelete 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AzureBlobGarbageCollector() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomputeToDelete()Computes keys candidate for deletion.StringgetId()Gets a unique identifier for this garbage collector.voidmark(String key)Marks a binary as being in use.voidremoveUnmarkedBlobsAndUpdateStatus(boolean delete)- 
Methods inherited from class org.nuxeo.ecm.core.blob.AbstractBlobGarbageCollector
getStatus, getUnmarkedBlobsAndUpdateStatus, isInProgress, removeBlobs, start, stop 
 - 
 
 - 
 
- 
- 
Method Detail
- 
computeToDelete
public void computeToDelete()
Description copied from class:AbstractBlobGarbageCollectorComputes keys candidate for deletion.Overrides should not call super (this allows detecting old implementations).
- Overrides:
 computeToDeletein classAbstractBlobGarbageCollector
 
- 
getId
public String getId()
Description copied from interface:BinaryGarbageCollectorGets 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
 
 
- 
mark
public void mark(String key)
Description copied from interface:BinaryGarbageCollectorMarks a binary as being in use.- Specified by:
 markin interfaceBinaryGarbageCollector- Overrides:
 markin classAbstractBlobGarbageCollector- Parameters:
 key- the binary's digest
 
- 
removeUnmarkedBlobsAndUpdateStatus
public void removeUnmarkedBlobsAndUpdateStatus(boolean delete)
- Overrides:
 removeUnmarkedBlobsAndUpdateStatusin classAbstractBlobGarbageCollector
 
 - 
 
 -