public interface CloudCollectionsListener
ZkStateReader.registerCloudCollectionsListener(CloudCollectionsListener)
and called whenever the cloud's set of collections changes.Modifier and Type | Method and Description |
---|---|
void |
onChange(Set<String> oldCollections,
Set<String> newCollections)
Called when a collection is created, a collection is deleted or a watched collection's state changes.
|
void onChange(Set<String> oldCollections, Set<String> newCollections)
oldCollections
- the previous set of collectionsnewCollections
- the new set of collectionsCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.