public interface CollectionStatePredicate
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Set<String> liveNodes,
DocCollection collectionState)
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 nodescollectionState
- the latest collection state, or null if the collection
does not existCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.