Class QueryConsistencyException

    • Method Detail

      • getConsistencyLevel

        public ConsistencyLevel getConsistencyLevel()
        The consistency level of the operation that failed.
        Returns:
        the consistency level of the operation that failed.
      • getReceivedAcknowledgements

        public int getReceivedAcknowledgements()
        The number of replicas that had acknowledged/responded to the operation before it failed.
        Returns:
        the number of replica that had acknowledged/responded the operation before it failed.
      • getRequiredAcknowledgements

        public int getRequiredAcknowledgements()
        The minimum number of replica acknowledgements/responses that were required to fulfill the operation.
        Returns:
        The minimum number of replica acknowledgements/response that were required to fulfill the operation.
      • getEndPoint

        public EndPoint getEndPoint()
        The connection information of the coordinator host that was contacted. May be null if the coordinator is not known.

        Note that this is the information of the host that coordinated the query, not the one that timed out.

        Specified by:
        getEndPoint in interface CoordinatorException