public interface CollectionStatePredicate
|Modifier and Type||Method and Description|
Check if the set of liveNodes and the collection state matches a required state
boolean matches(Set<String> liveNodes, DocCollection collectionState)
Note that both liveNodes and collectionState should be consulted to determine the overall state.
liveNodes- the current set of live nodes
collectionState- the latest collection state, or null if the collection does not exist
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.