Interface ReadAfterWriteConsistentFeatureExtension
-
- All Superinterfaces:
FeatureExtension
public interface ReadAfterWriteConsistentFeatureExtension extends FeatureExtension
The read write consistent feature extension must be defined in theReadAfterWriteConsistentfeature in order to extend aTransferManagerthat was marked as 'read write consistent' with the required methods to verify if a file exists on the remote side.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexists(RemoteFile remoteFile)Check if a file on the remote side already exists.
-
-
-
Method Detail
-
exists
boolean exists(RemoteFile remoteFile) throws StorageException
Check if a file on the remote side already exists.- Parameters:
remoteFile- The file to look up- Returns:
- True if the file exists and is accessible and false otherwise
- Throws:
StorageException- Thrown if an error occurred
-
-