public class JobPartTrackerImpl extends java.lang.Object implements JobPartTracker
Constructor and Description |
---|
JobPartTrackerImpl(java.util.Map<java.lang.String,com.spectralogic.ds3client.helpers.ObjectPartTracker> trackers) |
Modifier and Type | Method and Description |
---|---|
JobPartTracker |
attachDataTransferredListener(DataTransferredListener listener) |
JobPartTracker |
attachObjectCompletedListener(ObjectCompletedListener listener) |
void |
completePart(java.lang.String key,
ObjectPart objectPart) |
boolean |
containsPart(java.lang.String key,
ObjectPart objectPart) |
void |
removeDataTransferredListener(DataTransferredListener listener) |
void |
removeObjectCompletedListener(ObjectCompletedListener listener) |
java.lang.String |
toString() |
public JobPartTrackerImpl(java.util.Map<java.lang.String,com.spectralogic.ds3client.helpers.ObjectPartTracker> trackers)
public void completePart(java.lang.String key, ObjectPart objectPart)
completePart
in interface JobPartTracker
public boolean containsPart(java.lang.String key, ObjectPart objectPart)
containsPart
in interface JobPartTracker
public JobPartTracker attachDataTransferredListener(DataTransferredListener listener)
attachDataTransferredListener
in interface JobPartTracker
public JobPartTracker attachObjectCompletedListener(ObjectCompletedListener listener)
attachObjectCompletedListener
in interface JobPartTracker
public void removeDataTransferredListener(DataTransferredListener listener)
removeDataTransferredListener
in interface JobPartTracker
public void removeObjectCompletedListener(ObjectCompletedListener listener)
removeObjectCompletedListener
in interface JobPartTracker
public java.lang.String toString()
toString
in class java.lang.Object