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