Class CronScheduledFuture<V>
java.lang.Object
org.apache.logging.log4j.core.config.CronScheduledFuture<V>
- All Implemented Interfaces:
Comparable<Delayed>
,Delayed
,Future<V>
,ScheduledFuture<V>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CronScheduledFuture
-
-
Method Details
-
getFireTime
-
getDelay
-
compareTo
- Specified by:
compareTo
in interfaceComparable<V>
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<V>
-
isDone
public boolean isDone() -
get
- Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
ExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
ExecutionException
TimeoutException
-