public interface CollectionStatePredicate
|Modifier and Type||Method and Description|
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 nodes
collectionState- the latest collection state, or null if the collection does not exist
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.