Package com.exasol.bucketfs.monitor
Interface BucketFsMonitor
-
public interface BucketFsMonitorMonitor that watches the synchronization of objects in BucketFS.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceBucketFsMonitor.StateABucketFsMonitor.Stateallows to detect events more precisely.static interfaceBucketFsMonitor.StateRetrieverRetrieves the initial state before an update operation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisObjectSynchronized(ReadOnlyBucket bucket, String pathInBucket, BucketFsMonitor.State state)Check if the object with the given path is already synchronized.
-
-
-
Method Detail
-
isObjectSynchronized
boolean isObjectSynchronized(ReadOnlyBucket bucket, String pathInBucket, BucketFsMonitor.State state) throws BucketAccessException
Check if the object with the given path is already synchronized.- Parameters:
bucket- bucketpathInBucket- path to the object located in the bucketstate- state in order to detect synchronization more precisely- Returns:
trueif the object exists in the bucket and is synchronized- Throws:
BucketAccessException- if the object in the bucket is inaccessible
-
-