Interface BucketLifeCycleListener<IN,BucketID>
@Internal
public interface BucketLifeCycleListener<IN,BucketID>
Listener about the status of
Bucket.-
Method Summary
Modifier and TypeMethodDescriptionvoidbucketCreated(Bucket<IN, BucketID> bucket) Notifies a new bucket has been created.voidbucketInactive(Bucket<IN, BucketID> bucket) Notifies a bucket become inactive.
-
Method Details
-
bucketCreated
Notifies a new bucket has been created.- Parameters:
bucket- The newly created bucket.
-
bucketInactive
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.
-