A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addChangedFile(File) - Method in class org.duracloud.sync.mgmt.ChangedList
-
Adds a changed file to the list of items to be processed.
- ADDED - org.duracloud.sync.endpoint.SyncResultType
- addEndPointListener(EndPointListener) - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- addEndPointListener(EndPointListener) - Method in class org.duracloud.sync.endpoint.FileSystemSyncEndpoint
- addEndPointListener(EndPointListener) - Method in interface org.duracloud.sync.endpoint.SyncEndpoint
-
Registers a listener
- addListener(ChangedListListener) - Method in class org.duracloud.sync.mgmt.ChangedList
- addUpdateContent(String, MonitoredFile) - Method in class org.duracloud.sync.endpoint.DuraStoreChunkSyncEndpoint
- addUpdateContent(String, MonitoredFile) - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- ALREADY_IN_SYNC - org.duracloud.sync.endpoint.SyncResultType
- attemptRestart() - Method in class org.duracloud.sync.backup.SyncBackupManager
B
- BACKED_UP - org.duracloud.sync.endpoint.SyncResultType
- BACKUP_FILE_NAME - Static variable in class org.duracloud.sync.config.SyncToolConfigParser
- backupConfig(File, String[]) - Method in class org.duracloud.sync.config.SyncToolConfigParser
- beginSync() - Method in class org.duracloud.sync.mgmt.SyncManager
-
Allows the SyncManager to begin watching for updates to the ChangedList
C
- ChangedFile - Class in org.duracloud.sync.mgmt
- ChangedFile(File) - Constructor for class org.duracloud.sync.mgmt.ChangedFile
- changedList - Variable in class org.duracloud.sync.walker.DirWalker
- ChangedList - Class in org.duracloud.sync.mgmt
-
The list of files which have been changed.
- ChangedListBackupManager - Class in org.duracloud.sync.backup
-
Manages the backing up of the changed list on a consistent schedule.
- ChangedListBackupManager(ChangedList, File, long, List<File>) - Constructor for class org.duracloud.sync.backup.ChangedListBackupManager
- ChangedListListener - Interface in org.duracloud.sync.mgmt
- ChangeHandler - Interface in org.duracloud.sync.mgmt
- ChangeWatcher - Class in org.duracloud.sync.mgmt
-
Watches for new items on the ChangedList.
- ChangeWatcher(ChangedList, ChangeHandler, long) - Constructor for class org.duracloud.sync.mgmt.ChangeWatcher
-
Creates a ChangeWatcher which watches for changes to the ChangedList and notifies the ChangeHandler.
- checkComplete() - Method in class org.duracloud.sync.walker.DeleteChecker
- ChunkFilteredIterator - Class in org.duracloud.sync.endpoint
-
This class exposes an iterator to a String listing that excludes content chunks (as defined in ChunksManifest.java) and replaces items named as chunk manifests (as defined in ChunksManifest.java) with their original content name.
- ChunkFilteredIterator(Iterator<String>) - Constructor for class org.duracloud.sync.endpoint.ChunkFilteredIterator
- clear() - Method in class org.duracloud.sync.backup.ChangedListBackupManager
- clear() - Method in class org.duracloud.sync.mgmt.ChangedList
-
Removes all files from the changed list.
- clear() - Method in class org.duracloud.sync.mgmt.StatusManager
- clearBackups() - Method in class org.duracloud.sync.backup.SyncBackupManager
- clearFailed() - Method in class org.duracloud.sync.mgmt.StatusManager
- configEquals(SyncToolConfig, SyncToolConfig) - Method in class org.duracloud.sync.SyncTool
-
Determines if two sets of configuration are "equal enough" to indicate that the content to be reviewed for sync operations has not changed on either the local or remote end, suggesting that a re-start would be permissable.
- contentAdded(String, String, String, String) - Method in interface org.duracloud.sync.endpoint.EndPointListener
- contentAdded(String, String, String, String) - Method in class org.duracloud.sync.endpoint.EndPointLogger
- contentBackedUp(String, String, String, String, String) - Method in interface org.duracloud.sync.endpoint.EndPointListener
- contentBackedUp(String, String, String, String, String) - Method in class org.duracloud.sync.endpoint.EndPointLogger
- contentDeleted(String, String, String) - Method in interface org.duracloud.sync.endpoint.EndPointListener
- contentDeleted(String, String, String) - Method in class org.duracloud.sync.endpoint.EndPointLogger
- contentUpdated(String, String, String, String) - Method in interface org.duracloud.sync.endpoint.EndPointListener
- contentUpdated(String, String, String, String) - Method in class org.duracloud.sync.endpoint.EndPointLogger
- contentUpdateIgnored(String, String, String, String) - Method in interface org.duracloud.sync.endpoint.EndPointListener
- contentUpdateIgnored(String, String, String, String) - Method in class org.duracloud.sync.endpoint.EndPointLogger
- context - Static variable in class org.duracloud.sync.config.SyncToolConfigParser
- createProps(String, String) - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
D
- DEFAULT_MAX_FILE_SIZE - Static variable in class org.duracloud.sync.config.SyncToolConfigParser
- DEFAULT_NUM_THREADS - Static variable in class org.duracloud.sync.config.SyncToolConfigParser
- DEFAULT_POLL_FREQUENCY - Static variable in class org.duracloud.sync.config.SyncToolConfigParser
- DEFAULT_PORT - Static variable in class org.duracloud.sync.config.SyncToolConfigParser
- DEFAULT_SLEEP_TIME - Static variable in class org.duracloud.sync.backup.ChangedListBackupManager
- DEFAULT_UPDATE_SUFFIX - Static variable in class org.duracloud.sync.config.SyncToolConfig
- DEFAULT_WORK_DIR - Static variable in class org.duracloud.sync.config.SyncConfig
- DeleteChecker - Class in org.duracloud.sync.walker
- DeleteChecker(SyncEndpoint, String, List<File>, String) - Constructor for class org.duracloud.sync.walker.DeleteChecker
-
Creates a delete checker
- deleteContent(String, String) - Method in class org.duracloud.sync.endpoint.DuraStoreChunkSyncEndpoint
- deleteContent(String, String) - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- deleteContent(String, String) - Method in class org.duracloud.sync.endpoint.FileSystemSyncEndpoint
- deleteContent(String, String) - Method in interface org.duracloud.sync.endpoint.SyncEndpoint
-
Removes content from the endpoint.
- DELETED - org.duracloud.sync.endpoint.SyncResultType
- DirectoryListener - Class in org.duracloud.sync.monitor
-
Handles update notifications from the Directory Update Monitor by adding the changed files to the ChangedList.
- DirectoryListener(boolean) - Constructor for class org.duracloud.sync.monitor.DirectoryListener
- DirectoryUpdateMonitor - Class in org.duracloud.sync.monitor
-
Monitors of local file system directories for changes.
- DirectoryUpdateMonitor(List<File>, long, boolean) - Constructor for class org.duracloud.sync.monitor.DirectoryUpdateMonitor
-
Creates a directory update monitor which, when started, will notify on changes within the given directories.
- DirectoryUtil - Class in org.duracloud.sync.util
- DirWalker - Class in org.duracloud.sync.walker
-
Handles the walking of a set of directory trees.
- DirWalker(List<File>, FileExclusionManager) - Constructor for class org.duracloud.sync.walker.DirWalker
- doAddContent(MonitoredFile, String, String) - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- DuraStoreChunkSyncEndpoint - Class in org.duracloud.sync.endpoint
- DuraStoreChunkSyncEndpoint(ContentStore, String, String, boolean, boolean, long) - Constructor for class org.duracloud.sync.endpoint.DuraStoreChunkSyncEndpoint
- DuraStoreChunkSyncEndpoint(ContentStore, String, String, boolean, long, boolean, boolean, boolean, String, String) - Constructor for class org.duracloud.sync.endpoint.DuraStoreChunkSyncEndpoint
- DuraStoreSyncEndpoint - Class in org.duracloud.sync.endpoint
-
Endpoint which pushes files to DuraCloud.
- DuraStoreSyncEndpoint(ContentStore, String, String, boolean, boolean) - Constructor for class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- DuraStoreSyncEndpoint(ContentStore, String, String, boolean, boolean, boolean, boolean, String, String) - Constructor for class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
E
- endBackup() - Method in class org.duracloud.sync.backup.ChangedListBackupManager
- endBackups() - Method in class org.duracloud.sync.backup.SyncBackupManager
- EndPointListener - Interface in org.duracloud.sync.endpoint
-
This interface defines listener methods for monitoring changes in the SyncEndPoint
- EndPointLogger - Class in org.duracloud.sync.endpoint
-
This class monitors and logs evnet point events.
- EndPointLogger() - Constructor for class org.duracloud.sync.endpoint.EndPointLogger
- endSync() - Method in class org.duracloud.sync.mgmt.SyncManager
-
Stops the sync, no further changed files will be handled after those which are in progress have completed.
- endWatch() - Method in class org.duracloud.sync.mgmt.ChangeWatcher
- exists() - Method in class org.duracloud.sync.endpoint.MonitoredFile
- exitOnCompletion() - Method in class org.duracloud.sync.config.SyncToolConfig
F
- FAILED - org.duracloud.sync.endpoint.SyncResultType
- failedCompletion(SyncSummary) - Method in class org.duracloud.sync.mgmt.StatusManager
- FAILURE - org.duracloud.sync.mgmt.SyncSummary.Status
- fileExclusionManager - Variable in class org.duracloud.sync.walker.DirWalker
- FileExclusionManager - Class in org.duracloud.sync.mgmt
-
This class provides a mechanism for clients to determine whether or not a particular file should be ignored.
- FileExclusionManager() - Constructor for class org.duracloud.sync.mgmt.FileExclusionManager
- FileExclusionManager(File) - Constructor for class org.duracloud.sync.mgmt.FileExclusionManager
- FileExclusionManager(List<String>) - Constructor for class org.duracloud.sync.mgmt.FileExclusionManager
- FileSystemSyncEndpoint - Class in org.duracloud.sync.endpoint
-
Allows syncing to be performed to a location on the local file system.
- FileSystemSyncEndpoint(File, boolean) - Constructor for class org.duracloud.sync.endpoint.FileSystemSyncEndpoint
-
Creates a SyncEnpoint pointing to a directory on the local file system where files will be synced to.
- fireChangedEvent() - Method in class org.duracloud.sync.mgmt.ChangedList
- fireChangedEventAsync() - Method in class org.duracloud.sync.mgmt.ChangedList
G
- getAbbreviation() - Method in enum org.duracloud.sync.endpoint.SyncResultType
- getAbsolutePath() - Method in class org.duracloud.sync.endpoint.MonitoredFile
- getAbsolutePath() - Method in class org.duracloud.sync.mgmt.SyncSummary
- getBackupFrequency() - Method in class org.duracloud.sync.config.SyncToolConfig
- getBytesRead() - Method in class org.duracloud.sync.endpoint.MonitoredInputStream
- getChecksum() - Method in class org.duracloud.sync.endpoint.MonitoredFile
- getConsole() - Method in class org.duracloud.sync.config.SyncToolConfigParser
- getContentDirs() - Method in class org.duracloud.sync.config.SyncToolConfig
- getContentProperties(String, String) - Method in class org.duracloud.sync.endpoint.DuraStoreChunkSyncEndpoint
- getContentProperties(String, String) - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- getContentStore() - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- getContext() - Method in class org.duracloud.sync.config.SyncToolConfig
- getDurationAsString() - Method in class org.duracloud.sync.mgmt.SyncSummary
- getExcludeList() - Method in class org.duracloud.sync.config.SyncToolConfig
- getFailed() - Method in class org.duracloud.sync.mgmt.StatusManager
- getFile() - Method in class org.duracloud.sync.endpoint.MonitoredFile
- getFile() - Method in class org.duracloud.sync.mgmt.ChangedFile
- getFilename() - Method in class org.duracloud.sync.mgmt.SyncSummary
- getFilesCount() - Method in class org.duracloud.sync.walker.DirWalker
- getFilesInTransfer() - Method in class org.duracloud.sync.mgmt.SyncManager
- getFilesList() - Method in class org.duracloud.sync.endpoint.DuraStoreChunkSyncEndpoint
- getFilesList() - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- getFilesList() - Method in class org.duracloud.sync.endpoint.FileSystemSyncEndpoint
- getFilesList() - Method in interface org.duracloud.sync.endpoint.SyncEndpoint
-
Retrieves a listing of all files available at the endpoint.
- getHost() - Method in class org.duracloud.sync.config.SyncToolConfig
- getInstance() - Static method in class org.duracloud.sync.mgmt.ChangedList
- getInstance() - Static method in class org.duracloud.sync.mgmt.StatusManager
- getInWork() - Method in class org.duracloud.sync.mgmt.StatusManager
- getLength() - Method in class org.duracloud.sync.mgmt.SyncSummary
- getListSize() - Method in class org.duracloud.sync.mgmt.ChangedList
-
Gets the current size of the changed list
- getListSizeIncludingReservedFiles() - Method in class org.duracloud.sync.mgmt.ChangedList
-
Gets the current size of the changed list included the files that have been reserved
- getManifestId(String) - Method in class org.duracloud.sync.endpoint.DuraStoreChunkSyncEndpoint
- getMaxFileSize() - Method in class org.duracloud.sync.config.SyncToolConfig
- getMessage() - Method in class org.duracloud.sync.mgmt.SyncSummary
- getMimetype() - Method in class org.duracloud.sync.endpoint.MonitoredFile
- getMonitoredFile() - Method in class org.duracloud.sync.mgmt.SyncWorker
- getName() - Method in class org.duracloud.sync.endpoint.MonitoredFile
- getNumThreads() - Method in class org.duracloud.sync.config.SyncToolConfig
- getPassword() - Method in class org.duracloud.sync.config.SyncToolConfig
- getPasswordEnvVariable() - Method in class org.duracloud.sync.config.SyncToolConfigParser
- getPollFrequency() - Method in class org.duracloud.sync.config.SyncToolConfig
- getPort() - Method in class org.duracloud.sync.config.SyncToolConfig
- getPrefix() - Method in class org.duracloud.sync.config.SyncToolConfig
- getPrintableConfig() - Method in class org.duracloud.sync.config.SyncToolConfig
- getPrintableHelp() - Method in class org.duracloud.sync.SyncTool
- getPrintableStatus() - Method in class org.duracloud.sync.mgmt.StatusManager
- getQueueSize() - Method in class org.duracloud.sync.mgmt.StatusManager
- getRecentlyCompleted() - Method in class org.duracloud.sync.mgmt.StatusManager
- getSpaceId() - Method in class org.duracloud.sync.config.SyncToolConfig
- getSpaceId() - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- getStart() - Method in class org.duracloud.sync.mgmt.SyncSummary
- getStop() - Method in class org.duracloud.sync.mgmt.SyncSummary
- getStoreId() - Method in class org.duracloud.sync.config.SyncToolConfig
- getStream() - Method in class org.duracloud.sync.endpoint.MonitoredFile
- getStreamBytesRead() - Method in class org.duracloud.sync.endpoint.MonitoredFile
- getSucceeded() - Method in class org.duracloud.sync.mgmt.StatusManager
- getSyncAttempts() - Method in class org.duracloud.sync.mgmt.ChangedFile
- getSyncToFile(MonitoredFile, File) - Method in class org.duracloud.sync.endpoint.FileSystemSyncEndpoint
- getType() - Method in class org.duracloud.sync.mgmt.SyncSummary
- getUpdateSuffix() - Method in class org.duracloud.sync.config.SyncToolConfig
- getUsername() - Method in class org.duracloud.sync.config.SyncToolConfig
- getUsername() - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- getVersion() - Method in class org.duracloud.sync.mgmt.ChangedList
- getWatchDir(File) - Method in class org.duracloud.sync.mgmt.SyncManager
- getWorkDir() - Static method in class org.duracloud.sync.config.SyncConfig
- getWorkDir() - Method in class org.duracloud.sync.config.SyncToolConfig
- GIGABYTE - Static variable in class org.duracloud.sync.config.SyncToolConfigParser
H
- handleChangedFile(ChangedFile) - Method in interface org.duracloud.sync.mgmt.ChangeHandler
-
Tells the handler that a file has changed
- handleChangedFile(ChangedFile) - Method in class org.duracloud.sync.mgmt.SyncManager
-
Notifies the SyncManager that a file has changed
- handleDirectory(File, int, Collection) - Method in class org.duracloud.sync.walker.DirWalker
- handleDirectory(File, int, Collection) - Method in class org.duracloud.sync.walker.RestartDirWalker
- handleFile(File, int, Collection) - Method in class org.duracloud.sync.walker.DirWalker
- handleFile(File, int, Collection) - Method in class org.duracloud.sync.walker.RestartDirWalker
- handleIsCancelled(File, int, Collection) - Method in class org.duracloud.sync.walker.DirWalker
- hasBackups() - Method in class org.duracloud.sync.backup.ChangedListBackupManager
- hasBackups() - Method in class org.duracloud.sync.backup.SyncBackupManager
- hasNext() - Method in class org.duracloud.sync.endpoint.ChunkFilteredIterator
I
- incrementSyncAttempts() - Method in class org.duracloud.sync.mgmt.ChangedFile
- isCleanStart() - Method in class org.duracloud.sync.config.SyncToolConfig
- isComplete() - Method in class org.duracloud.sync.mgmt.SyncWorker
- isExcluded(File) - Method in class org.duracloud.sync.mgmt.FileExclusionManager
- isJumpStart() - Method in class org.duracloud.sync.config.SyncToolConfig
- isRenameUpdates() - Method in class org.duracloud.sync.config.SyncToolConfig
- isSyncUpdates() - Method in class org.duracloud.sync.config.SyncToolConfig
L
- length() - Method in class org.duracloud.sync.endpoint.MonitoredFile
- listChanged(ChangedList) - Method in interface org.duracloud.sync.mgmt.ChangedListListener
- listFilesSortedByModDate(File) - Static method in class org.duracloud.sync.util.DirectoryUtil
- loadBackup() - Method in class org.duracloud.sync.backup.ChangedListBackupManager
-
Attempts to reload the changed list from a backup file.
M
- main(String[]) - Static method in class org.duracloud.sync.SyncToolInitializer
- MonitoredFile - Class in org.duracloud.sync.endpoint
- MonitoredFile(File) - Constructor for class org.duracloud.sync.endpoint.MonitoredFile
- MonitoredInputStream - Class in org.duracloud.sync.endpoint
- MonitoredInputStream(File) - Constructor for class org.duracloud.sync.endpoint.MonitoredInputStream
- MonitoredInputStream(InputStream) - Constructor for class org.duracloud.sync.endpoint.MonitoredInputStream
N
- next() - Method in class org.duracloud.sync.endpoint.ChunkFilteredIterator
O
- onFileChange(File) - Method in class org.duracloud.sync.monitor.DirectoryListener
- onFileCreate(File) - Method in class org.duracloud.sync.monitor.DirectoryListener
- onFileDelete(File) - Method in class org.duracloud.sync.monitor.DirectoryListener
- org.duracloud.sync - package org.duracloud.sync
- org.duracloud.sync.backup - package org.duracloud.sync.backup
- org.duracloud.sync.config - package org.duracloud.sync.config
- org.duracloud.sync.endpoint - package org.duracloud.sync.endpoint
- org.duracloud.sync.mgmt - package org.duracloud.sync.mgmt
- org.duracloud.sync.monitor - package org.duracloud.sync.monitor
- org.duracloud.sync.util - package org.duracloud.sync.util
- org.duracloud.sync.walker - package org.duracloud.sync.walker
P
- peek(int) - Method in class org.duracloud.sync.mgmt.ChangedList
- persist(File) - Method in class org.duracloud.sync.mgmt.ChangedList
-
Writes out the current state of the ChangeList to the given file.
- PREV_BACKUP_FILE_NAME - Static variable in class org.duracloud.sync.config.SyncToolConfigParser
- processCommandLine(String[]) - Method in class org.duracloud.sync.config.SyncToolConfigParser
-
Parses command line configuration into an object structure, validates correct values along the way.
- processConfigFileOptions(String[]) - Method in class org.duracloud.sync.config.SyncToolConfigParser
- processStandardOptions(String[]) - Method in class org.duracloud.sync.config.SyncToolConfigParser
- processStandardOptions(String[], boolean) - Method in class org.duracloud.sync.config.SyncToolConfigParser
R
- read() - Method in class org.duracloud.sync.endpoint.MonitoredInputStream
- read(byte[]) - Method in class org.duracloud.sync.endpoint.MonitoredInputStream
- read(byte[], int, int) - Method in class org.duracloud.sync.endpoint.MonitoredInputStream
- remove() - Method in class org.duracloud.sync.endpoint.ChunkFilteredIterator
- remove() - Method in class org.duracloud.sync.mgmt.ChangedFile
-
Removes a previously reserved file from the ChangedList.
- removeEndPointListener(EndPointListener) - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- removeEndPointListener(EndPointListener) - Method in class org.duracloud.sync.endpoint.FileSystemSyncEndpoint
- removeEndPointListener(EndPointListener) - Method in interface org.duracloud.sync.endpoint.SyncEndpoint
-
Unregisters a listener
- removeListener(ChangedListListener) - Method in class org.duracloud.sync.mgmt.ChangedList
- reserve() - Method in class org.duracloud.sync.mgmt.ChangedList
-
Retrieves a changed file for processing and removes it from the list of unreserved files.
- RestartDirWalker - Class in org.duracloud.sync.walker
-
Walks a set of directory trees just like a DirWalker, but only adds files to the changed list if their modified date is more recent than the time of the last backup.
- RestartDirWalker(List<File>, long, FileExclusionManager) - Constructor for class org.duracloud.sync.walker.RestartDirWalker
- restartPossible() - Method in class org.duracloud.sync.SyncTool
-
Determines if this run of the sync tool will perform a restart.
- restore(File, List<File>) - Method in class org.duracloud.sync.mgmt.ChangedList
-
Restores the state of the ChangedList using the given backup file
- retrieveConfig(File) - Method in class org.duracloud.sync.config.SyncToolConfigParser
- retrievePrevConfig(File) - Method in class org.duracloud.sync.config.SyncToolConfigParser
-
Retrieves the configuration of the previous run of the Sync Tool.
- run() - Method in class org.duracloud.sync.backup.ChangedListBackupManager
-
Runs the backup manager.
- run() - Method in class org.duracloud.sync.mgmt.ChangeWatcher
- run() - Method in class org.duracloud.sync.mgmt.SyncWorker
- run() - Method in class org.duracloud.sync.walker.DeleteChecker
-
Checks each item in the list of files stored at the endpoint (relative file paths) against each sync directory to see if there is a matching local file.
- run() - Method in class org.duracloud.sync.walker.DirWalker
- runSyncTool() - Method in class org.duracloud.sync.SyncTool
- runSyncTool(String[]) - Method in class org.duracloud.sync.SyncToolInitializer
S
- SAVED_BACKUPS - Static variable in class org.duracloud.sync.backup.ChangedListBackupManager
- setCleanStart(boolean) - Method in class org.duracloud.sync.config.SyncToolConfig
- setContentDirs(List<File>) - Method in class org.duracloud.sync.config.SyncToolConfig
- setContext(String) - Method in class org.duracloud.sync.config.SyncToolConfig
- setExcludeList(File) - Method in class org.duracloud.sync.config.SyncToolConfig
- setExitOnCompletion(boolean) - Method in class org.duracloud.sync.config.SyncToolConfig
- setFileExclusionManager(FileExclusionManager) - Method in class org.duracloud.sync.mgmt.ChangedList
- setHost(String) - Method in class org.duracloud.sync.config.SyncToolConfig
- setJumpStart(boolean) - Method in class org.duracloud.sync.config.SyncToolConfig
- setMaxFileSize(long) - Method in class org.duracloud.sync.config.SyncToolConfig
- setNumThreads(int) - Method in class org.duracloud.sync.config.SyncToolConfig
- setPassword(String) - Method in class org.duracloud.sync.config.SyncToolConfig
- setPollFrequency(long) - Method in class org.duracloud.sync.config.SyncToolConfig
- setPort(int) - Method in class org.duracloud.sync.config.SyncToolConfig
- setPrefix(String) - Method in class org.duracloud.sync.config.SyncToolConfig
- setRenameUpdates(boolean) - Method in class org.duracloud.sync.config.SyncToolConfig
- setSpaceId(String) - Method in class org.duracloud.sync.config.SyncToolConfig
- setStoreId(String) - Method in class org.duracloud.sync.config.SyncToolConfig
- setSyncConfig(SyncToolConfig) - Method in class org.duracloud.sync.SyncTool
-
Sets the configuration of the sync tool.
- setSyncDeletes(boolean) - Method in class org.duracloud.sync.config.SyncToolConfig
- setSyncUpdates(boolean) - Method in class org.duracloud.sync.config.SyncToolConfig
- setUpdateSuffix(String) - Method in class org.duracloud.sync.config.SyncToolConfig
- setUsername(String) - Method in class org.duracloud.sync.config.SyncToolConfig
- setVersion(String) - Method in class org.duracloud.sync.config.SyncToolConfig
- setVersion(String) - Method in class org.duracloud.sync.mgmt.StatusManager
- setWorkDir(File) - Static method in class org.duracloud.sync.config.SyncConfig
- setWorkDir(File) - Method in class org.duracloud.sync.config.SyncToolConfig
- shutdown() - Method in class org.duracloud.sync.mgmt.ChangedList
- sleep(long) - Method in class org.duracloud.sync.backup.ChangedListBackupManager
- start(List<File>, long, FileExclusionManager) - Static method in class org.duracloud.sync.walker.RestartDirWalker
- start(List<File>, FileExclusionManager) - Static method in class org.duracloud.sync.walker.DirWalker
- start(SyncEndpoint, String, List<File>, String) - Static method in class org.duracloud.sync.walker.DeleteChecker
- startingWork() - Method in class org.duracloud.sync.mgmt.StatusManager
- startMonitor() - Method in class org.duracloud.sync.monitor.DirectoryUpdateMonitor
-
Starts the monitor watching for updates.
- startupBackups() - Method in class org.duracloud.sync.backup.SyncBackupManager
- StatusManager - Class in org.duracloud.sync.mgmt
-
Singleton class which tracks the status of the sync queue
- StatusManager() - Constructor for class org.duracloud.sync.mgmt.StatusManager
- stop() - Method in class org.duracloud.sync.walker.DeleteChecker
- stopMonitor() - Method in class org.duracloud.sync.monitor.DirectoryUpdateMonitor
-
Stops the monitor, no further updates will be reported.
- stoppingWork() - Method in class org.duracloud.sync.mgmt.StatusManager
- stopWalk() - Method in class org.duracloud.sync.walker.DirWalker
- SUCCESS - org.duracloud.sync.mgmt.SyncSummary.Status
- successfulCompletion(SyncSummary) - Method in class org.duracloud.sync.mgmt.StatusManager
- SYNC_WORK_PROP - Static variable in class org.duracloud.sync.config.SyncConfig
- SyncBackupManager - Class in org.duracloud.sync.backup
-
Handles the execution of the changed list backup manager
- SyncBackupManager(File, long, List<File>) - Constructor for class org.duracloud.sync.backup.SyncBackupManager
- SyncConfig - Class in org.duracloud.sync.config
- SyncConfig() - Constructor for class org.duracloud.sync.config.SyncConfig
- syncDeletes() - Method in class org.duracloud.sync.config.SyncToolConfig
- SyncEndpoint - Interface in org.duracloud.sync.endpoint
-
Endpoint to which files are synchronized.
- syncFile(MonitoredFile, File) - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- syncFile(MonitoredFile, File) - Method in class org.duracloud.sync.endpoint.FileSystemSyncEndpoint
- syncFile(MonitoredFile, File) - Method in interface org.duracloud.sync.endpoint.SyncEndpoint
-
Ensures that the endpoint includes a file equivalent to the provided local file: - If the local file exists but no file with the same path exists at the endpoint, the local file will be copied to the endpoint - If the local file exists and is different from a file with the same path at the endpoint, the local file will replace the file at the endpoint.
- syncFileAndReturnDetailedResult(MonitoredFile, File) - Method in class org.duracloud.sync.endpoint.DuraStoreSyncEndpoint
- syncFileAndReturnDetailedResult(MonitoredFile, File) - Method in class org.duracloud.sync.endpoint.FileSystemSyncEndpoint
- syncFileAndReturnDetailedResult(MonitoredFile, File) - Method in interface org.duracloud.sync.endpoint.SyncEndpoint
-
An alternate form of the syncFile method that returns a more nuanced result.
- SyncManager - Class in org.duracloud.sync.mgmt
-
The SyncManager is responsible to watch for new entries in the ChangedList and make sure those changes are pushed to the SyncEndpoint.
- SyncManager(List<File>, SyncEndpoint, int, long) - Constructor for class org.duracloud.sync.mgmt.SyncManager
-
Creates a SyncManager which, when started, will watch for updates to the ChangedList and kick off SyncWorkers to handle any changed files.
- SyncResultType - Enum in org.duracloud.sync.endpoint
- SyncSummary - Class in org.duracloud.sync.mgmt
-
A class that describes a completed sync operation.
- SyncSummary(File, Date, Date, SyncResultType, String) - Constructor for class org.duracloud.sync.mgmt.SyncSummary
- SyncSummary.Status - Enum in org.duracloud.sync.mgmt
- SyncTool - Class in org.duracloud.sync
-
Starting point for the Sync Tool.
- SyncTool() - Constructor for class org.duracloud.sync.SyncTool
- SyncToolConfig - Class in org.duracloud.sync.config
-
Configuration for the Sync Tool
- SyncToolConfig() - Constructor for class org.duracloud.sync.config.SyncToolConfig
- SyncToolConfigParser - Class in org.duracloud.sync.config
-
Handles reading the configuration parameters for the Sync Tool
- SyncToolConfigParser() - Constructor for class org.duracloud.sync.config.SyncToolConfigParser
-
Creates a parser for command line configuration options.
- SyncToolInitializer - Class in org.duracloud.sync
-
Initializes the configuration of the Sync Tool.
- SyncToolInitializer() - Constructor for class org.duracloud.sync.SyncToolInitializer
- SyncWorker - Class in org.duracloud.sync.mgmt
-
Handles the syncing of a single changed file using the given endpoint.
- SyncWorker(ChangedFile, File, SyncEndpoint) - Constructor for class org.duracloud.sync.mgmt.SyncWorker
-
Creates a SyncWorker to handle syncing a file
T
- terminateSync() - Method in class org.duracloud.sync.mgmt.SyncManager
- toURI() - Method in class org.duracloud.sync.endpoint.MonitoredFile
U
- unreserve() - Method in class org.duracloud.sync.mgmt.ChangedFile
-
Releases the reservation on the file (if still reserved) and returns it to the list of unreserved ChangedFiles.
- UPDATE_IGNORED - org.duracloud.sync.endpoint.SyncResultType
- updateBytesRead(int) - Method in class org.duracloud.sync.endpoint.MonitoredInputStream
- UPDATED - org.duracloud.sync.endpoint.SyncResultType
V
- valueOf(String) - Static method in enum org.duracloud.sync.endpoint.SyncResultType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.duracloud.sync.mgmt.SyncSummary.Status
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.duracloud.sync.endpoint.SyncResultType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.duracloud.sync.mgmt.SyncSummary.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- walkComplete() - Method in class org.duracloud.sync.walker.DirWalker
- walkDirs() - Method in class org.duracloud.sync.walker.DirWalker
- walkDirs() - Method in class org.duracloud.sync.walker.RestartDirWalker
All Classes All Packages