public interface CloudCollectionsListener
ZkStateReader.registerCloudCollectionsListener(CloudCollectionsListener)and called whenever the cloud's set of collections changes.
|Modifier and Type||Method and Description|
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 collections
newCollections- the new set of collections
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.