public class V2TransferObjectTask extends Object implements Callable<SyncObjectState>
Constructor and Description |
---|
V2TransferObjectTask(NodeComm nodeCommunications,
org.dataone.cn.synchronization.types.SyncObject task) |
Modifier and Type | Method and Description |
---|---|
protected String |
buildStandardLogMessage(Throwable th,
String introMessage) |
SyncObjectState |
call()
Attempts to process the item to be synchronized.
|
protected static void |
extractRetryableException(org.dataone.service.exceptions.ServiceFailure sf)
This method is used to re-wrap the Exceptions that affect the processing
of a TransferObjectTask, particularly various types of time out exceptions
that we would want to retry instead of ending in SynchronizationFailed.
|
public V2TransferObjectTask(NodeComm nodeCommunications, org.dataone.cn.synchronization.types.SyncObject task)
public SyncObjectState call()
call
in interface Callable<SyncObjectState>
Exception
protected static void extractRetryableException(org.dataone.service.exceptions.ServiceFailure sf) throws RetryableException
sf
- RetryableException
Copyright © 2021. All rights reserved.