Class ClusterStateUpdateRequest<T extends ClusterStateUpdateRequest<T>>

All Implemented Interfaces:
Direct Known Subclasses:
CreateIndexClusterStateUpdateRequest, IndicesAliasesClusterStateUpdateRequest, IndicesClusterStateUpdateRequest, UpgradeSettingsClusterStateUpdateRequest

public abstract class ClusterStateUpdateRequest<T extends ClusterStateUpdateRequest<T>>
extends java.lang.Object
implements AckedRequest
Base class to be used when needing to update the cluster state Contains the basic fields that are always needed
  • Constructor Summary

    Constructor Description
  • 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