Interface CollectionStatePredicate

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • matches

        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.
        Parameters:
        liveNodes - the current set of live nodes
        collectionState - the latest collection state, or null if the collection does not exist