Interface BucketLifeCycleListener<IN,​BucketID>


  • @Internal
    public interface BucketLifeCycleListener<IN,​BucketID>
    Listener about the status of Bucket.
    • Method Detail

      • bucketCreated

        void bucketCreated​(Bucket<IN,​BucketID> bucket)
        Notifies a new bucket has been created.
        Parameters:
        bucket - The newly created bucket.
      • bucketInactive

        void bucketInactive​(Bucket<IN,​BucketID> bucket)
        Notifies a bucket become inactive. A bucket becomes inactive after all the records received so far have been committed.
        Parameters:
        bucket - The bucket getting inactive.