Class PendingClusterTask

java.lang.Object
org.elasticsearch.cluster.service.PendingClusterTask
All Implemented Interfaces:
Writeable

public class PendingClusterTask extends Object implements Writeable
  • Constructor Details

    • PendingClusterTask

      public PendingClusterTask(StreamInput in) throws IOException
      Throws:
      IOException
    • PendingClusterTask

      public PendingClusterTask(long insertOrder, Priority priority, Text source, long timeInQueue, boolean executing)
  • Method Details

    • getInsertOrder

      public long getInsertOrder()
    • getPriority

      public Priority getPriority()
    • getSource

      public Text getSource()
    • getTimeInQueueInMillis

      public long getTimeInQueueInMillis()
    • getTimeInQueue

      public org.elasticsearch.core.TimeValue getTimeInQueue()
    • isExecuting

      public boolean isExecuting()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException