Class NotScheduledFuture<T>

java.lang.Object
org.apache.cassandra.utils.concurrent.NotScheduledFuture<T>
All Implemented Interfaces:
Comparable<Delayed>, Delayed, Future<T>, ScheduledFuture<T>

public class NotScheduledFuture<T> extends Object implements ScheduledFuture<T>
  • Constructor Details

    • NotScheduledFuture

      public NotScheduledFuture()
  • Method Details

    • getDelay

      public long getDelay(TimeUnit unit)
      Specified by:
      getDelay in interface Delayed
    • compareTo

      public int compareTo(Delayed o)
      Specified by:
      compareTo in interface Comparable<T>
    • cancel

      public boolean cancel(boolean mayInterruptIfRunning)
      Specified by:
      cancel in interface Future<T>
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface Future<T>
    • isDone

      public boolean isDone()
      Specified by:
      isDone in interface Future<T>
    • get

      public T get()
      Specified by:
      get in interface Future<T>
    • get

      public T get(long timeout, TimeUnit unit)
      Specified by:
      get in interface Future<T>