Interface BucketFsMonitor


  • public interface BucketFsMonitor
    Monitor that watches the synchronization of objects in BucketFS.
    • 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 - bucket
        pathInBucket - path to the object located in the bucket
        state - state in order to detect synchronization more precisely
        Returns:
        true if the object exists in the bucket and is synchronized
        Throws:
        BucketAccessException - if the object in the bucket is inaccessible