public class DuraStoreChunkSyncEndpoint extends DuraStoreSyncEndpoint
| Constructor and Description |
|---|
DuraStoreChunkSyncEndpoint(org.duracloud.client.ContentStore contentStore,
String username,
String spaceId,
boolean syncDeletes,
boolean jumpStart,
long maxFileSize) |
DuraStoreChunkSyncEndpoint(org.duracloud.client.ContentStore contentStore,
String username,
String spaceId,
boolean syncDeletes,
long maxFileSize,
boolean syncUpdates,
boolean renameUpdates,
boolean jumpStart,
String updateSuffix,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addUpdateContent(String contentId,
MonitoredFile syncFile) |
void |
deleteContent(String spaceId,
String contentId)
Removes content from the endpoint.
|
protected Map<String,String> |
getContentProperties(String spaceId,
String contentId) |
Iterator<String> |
getFilesList()
Retrieves a listing of all files available at the endpoint.
|
protected String |
getManifestId(String contentId) |
addEndPointListener, createProps, doAddContent, getContentStore, getSpaceId, getUsername, removeEndPointListener, syncFile, syncFileAndReturnDetailedResultpublic DuraStoreChunkSyncEndpoint(org.duracloud.client.ContentStore contentStore, String username, String spaceId, boolean syncDeletes, boolean jumpStart, long maxFileSize)
public DuraStoreChunkSyncEndpoint(org.duracloud.client.ContentStore contentStore, String username, String spaceId, boolean syncDeletes, long maxFileSize, boolean syncUpdates, boolean renameUpdates, boolean jumpStart, String updateSuffix, String prefix)
protected Map<String,String> getContentProperties(String spaceId, String contentId)
getContentProperties in class DuraStoreSyncEndpointpublic void deleteContent(String spaceId, String contentId) throws org.duracloud.error.ContentStoreException
SyncEndpointdeleteContent in interface SyncEndpointdeleteContent in class DuraStoreSyncEndpointorg.duracloud.error.ContentStoreExceptionprotected void addUpdateContent(String contentId, MonitoredFile syncFile)
addUpdateContent in class DuraStoreSyncEndpointpublic Iterator<String> getFilesList()
SyncEndpointgetFilesList in interface SyncEndpointgetFilesList in class DuraStoreSyncEndpointCopyright © 2009–2018 DuraSpace. All rights reserved.