Class ClusterStateUpdateRequest<T extends ClusterStateUpdateRequest<T>>

    • Method Summary

      Modifier and Type Method Description
      TimeValue ackTimeout()
      Returns the maximum time interval to wait for acknowledgements
      T ackTimeout​(TimeValue ackTimeout)
      Sets the acknowledgement timeout
      TimeValue masterNodeTimeout()
      Returns the maximum time interval to wait for the request to be completed on the master node
      T masterNodeTimeout​(TimeValue masterNodeTimeout)
      Sets the master node timeout
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClusterStateUpdateRequest

        public ClusterStateUpdateRequest()
    • Method Detail

      • ackTimeout

        public TimeValue ackTimeout()
        Returns the maximum time interval to wait for acknowledgements
        Specified by:
        ackTimeout in interface AckedRequest
      • ackTimeout

        public T ackTimeout​(TimeValue ackTimeout)
        Sets the acknowledgement timeout
      • masterNodeTimeout

        public TimeValue masterNodeTimeout()
        Returns the maximum time interval to wait for the request to be completed on the master node
        Specified by:
        masterNodeTimeout in interface AckedRequest
      • masterNodeTimeout

        public T masterNodeTimeout​(TimeValue masterNodeTimeout)
        Sets the master node timeout