Package org.duracloud.sync.endpoint
Class DuraStoreChunkSyncEndpoint
java.lang.Object
org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
org.duracloud.sync.endpoint.DuraStoreChunkSyncEndpoint
- All Implemented Interfaces:
SyncEndpoint
-
Constructor Summary
ConstructorsConstructorDescriptionDuraStoreChunkSyncEndpoint(ContentStore contentStore, String username, String spaceId, boolean syncDeletes, boolean jumpStart, long maxFileSize) DuraStoreChunkSyncEndpoint(ContentStore contentStore, String username, String spaceId, boolean syncDeletes, long maxFileSize, boolean syncUpdates, boolean renameUpdates, boolean jumpStart, String updateSuffix, String prefix) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddUpdateContent(String contentId, MonitoredFile syncFile) voiddeleteContent(String spaceId, String contentId) Removes content from the endpoint.getContentProperties(String spaceId, String contentId) Retrieves a listing of all files available at the endpoint.protected StringgetManifestId(String contentId) Methods inherited from class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
addEndPointListener, createProps, doAddContent, getContentStore, getSpaceId, getUsername, removeEndPointListener, syncFile, syncFileAndReturnDetailedResult
-
Constructor Details
-
DuraStoreChunkSyncEndpoint
public DuraStoreChunkSyncEndpoint(ContentStore contentStore, String username, String spaceId, boolean syncDeletes, boolean jumpStart, long maxFileSize) -
DuraStoreChunkSyncEndpoint
public DuraStoreChunkSyncEndpoint(ContentStore contentStore, String username, String spaceId, boolean syncDeletes, long maxFileSize, boolean syncUpdates, boolean renameUpdates, boolean jumpStart, String updateSuffix, String prefix)
-
-
Method Details
-
getContentProperties
- Overrides:
getContentPropertiesin classDuraStoreSyncEndpoint
-
getManifestId
-
deleteContent
Description copied from interface:SyncEndpointRemoves content from the endpoint.- Specified by:
deleteContentin interfaceSyncEndpoint- Overrides:
deleteContentin classDuraStoreSyncEndpoint- Throws:
ContentStoreException
-
addUpdateContent
- Overrides:
addUpdateContentin classDuraStoreSyncEndpoint
-
getFilesList
Description copied from interface:SyncEndpointRetrieves a listing of all files available at the endpoint. This list is to be used for comparison with the local system.- Specified by:
getFilesListin interfaceSyncEndpoint- Overrides:
getFilesListin classDuraStoreSyncEndpoint- Returns:
- Iterator allowing access to complete file listing
-