Class CronScheduledFuture<V>
java.lang.Object
org.apache.logging.log4j.core.config.CronScheduledFuture<V>
- All Implemented Interfaces:
Comparable<Delayed>,Delayed,Future<V>,ScheduledFuture<V>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Field Details
-
futureData
-
-
Constructor Details
-
CronScheduledFuture
-
-
Method Details
-
getFireTime
-
reset
-
getDelay
-
compareTo
- Specified by:
compareToin interfaceComparable<V>
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<V>
-
isDone
public boolean 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
-