| Modifier and Type | Method and Description |
|---|---|
SyncFolderDescriptor |
SyncEngine.check(String folderId,
boolean recursively)
Checked Access Method
|
ProcessDescriptor |
SyncEngine.doSync(String folderId)
Checked Access Method
|
void |
SyncEngine.forceUnlock(String folderId)
Checked Access Method
|
SynchFolderConfiguration |
SyncEngine.getConfig(String fodlerId) |
void |
SyncEngine.setSynchronizedFolder(SynchFolderConfiguration config,
String folderId)
Checked Access Method
|
void |
SyncEngine.stopSynch(String folderId)
Checked Access Method
|
void |
SyncEngine.unsetSynchronizedFolder(String folderId,
boolean deleteRemoteContent)
Checked Access Method
|
void |
SyncEngine.updateCatalogFile(String folderId,
File toUpdate)
Checked Access Method
|
| Modifier and Type | Method and Description |
|---|---|
SyncFolderDescriptor |
WorkspaceFolderManager.check(boolean recursively) |
SyncFolderDescriptor |
SynchEngineImpl.check(String folderId,
boolean recursively) |
void |
Process.cleanup() |
void |
WorkspaceFolderManager.configure(SynchFolderConfiguration toSet) |
void |
WorkspaceFolderManager.dismiss(boolean deleteRemote) |
ProcessDescriptor |
SynchEngineImpl.doSync(String folderId) |
GuardedMethod<T> |
GuardedMethod.execute() |
void |
WorkspaceFolderManager.forceUnlock() |
void |
SynchEngineImpl.forceUnlock(String folderId) |
SynchFolderConfiguration |
SynchEngineImpl.getConfig(String folderId) |
String |
WorkspaceFolderManager.getLockId() |
SynchFolderConfiguration |
WorkspaceFolderManager.getSynchConfiguration() |
ThreddsController |
WorkspaceFolderManager.getThreddsController() |
boolean |
WorkspaceFolderManager.isLocked() |
boolean |
WorkspaceFolderManager.isRoot() |
void |
Process.launch(ExecutorService service) |
static SyncFolderDescriptor |
WorkspaceUtils.loadConfiguration(org.gcube.common.storagehub.client.dsl.ItemContainer<?> item)
Side effect : upgrades node configuration
If called on a leaf ITEM, the configuration is taken from the parent node
NB doesn't interact with Thredds, thus it lacks locked information
|
void |
WorkspaceFolderManager.lock(String processId) |
protected abstract T |
GuardedMethod.run() |
void |
SynchEngineImpl.setSynchronizedFolder(SynchFolderConfiguration config,
String folderId) |
void |
SynchEngineImpl.stopSynch(String folderId) |
void |
WorkspaceFolderManager.unlock() |
void |
WorkspaceFolderManager.unlock(String processId) |
void |
SynchEngineImpl.unsetSynchronizedFolder(String folderId,
boolean deleteRemoteContent) |
void |
SynchEngineImpl.updateCatalogFile(String folderId,
File toUpdate) |
| Constructor and Description |
|---|
GuardedMethod(String folderId) |
Process(User operator,
String folderId,
CompletionCallback callback) |
WorkspaceFolderManager(String folderId) |
| Modifier and Type | Class and Description |
|---|---|
class |
SecurityException |
| Modifier and Type | Class and Description |
|---|---|
class |
ItemNotFoundException |
class |
WorkspaceFolderNotRootException |
class |
WorkspaceLockedException |
class |
WorkspaceNotSynchedException |
Copyright © 2021. All Rights Reserved.