Package org.apache.hadoop.hbase
Class JitterScheduledThreadPoolExecutorImpl.JitteredRunnableScheduledFuture<V>
java.lang.Object
org.apache.hadoop.hbase.JitterScheduledThreadPoolExecutorImpl.JitteredRunnableScheduledFuture<V>
- All Implemented Interfaces:
Comparable<Delayed>,Runnable,Delayed,Future<V>,RunnableFuture<V>,RunnableScheduledFuture<V>,ScheduledFuture<V>
- Enclosing class:
- JitterScheduledThreadPoolExecutorImpl
protected class JitterScheduledThreadPoolExecutorImpl.JitteredRunnableScheduledFuture<V>
extends Object
implements RunnableScheduledFuture<V>
Class that basically just defers to the wrapped future. The only exception is getDelay
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
wrapped
-
-
Constructor Details
-
JitteredRunnableScheduledFuture
-
-
Method Details
-
isPeriodic
- Specified by:
isPeriodicin interfaceRunnableScheduledFuture<V>
-
getDelay
-
compareTo
- Specified by:
compareToin interfaceComparable<V>
-
equals
-
hashCode
-
run
- Specified by:
runin interfaceRunnable- Specified by:
runin interfaceRunnableFuture<V>
-
cancel
-
isCancelled
- Specified by:
isCancelledin interfaceFuture<V>
-
isDone
-
get
- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-