Package org.duracloud.sync.mgmt
Class ChangedFile
- java.lang.Object
-
- org.duracloud.sync.mgmt.ChangedFile
-
- All Implemented Interfaces:
Serializable
public class ChangedFile extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChangedFile(File changedFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetFile()intgetSyncAttempts()voidincrementSyncAttempts()voidremove()Removes a previously reserved file from the ChangedList.voidunreserve()Releases the reservation on the file (if still reserved) and returns it to the list of unreserved ChangedFiles.
-
-
-
Constructor Detail
-
ChangedFile
public ChangedFile(File changedFile)
-
-
Method Detail
-
getFile
public File getFile()
-
getSyncAttempts
public int getSyncAttempts()
-
incrementSyncAttempts
public void incrementSyncAttempts()
-
remove
public void remove()
Removes a previously reserved file from the ChangedList.
-
unreserve
public void unreserve()
Releases the reservation on the file (if still reserved) and returns it to the list of unreserved ChangedFiles.
-
-