Package com.exasol.bucketfs
Interface BucketFsMonitor
-
public interface BucketFsMonitorMonitor that watches the synchronization of objects in BucketFS.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisObjectSynchronized(ReadOnlyBucket bucket, String pathInBucket, Instant afterUTC)Check if the object with the given path is already synchronized.
-
-
-
Method Detail
-
isObjectSynchronized
boolean isObjectSynchronized(ReadOnlyBucket bucket, String pathInBucket, Instant afterUTC) throws BucketAccessException
Check if the object with the given path is already synchronized.- Parameters:
bucket- bucketpathInBucket- path to the object located in the bucketafterUTC- point in UTC time after which the object synchronization counts- Returns:
trueif the object exists in the bucket and is synchronized- Throws:
BucketAccessException- if the object in the bucket is inaccessible
-
-