Interface CacheRevalidatorBase.ScheduledExecutor
-
- All Known Implementing Classes:
DefaultAsyncCacheRevalidator.InternalScheduledExecutor
- Enclosing class:
- CacheRevalidatorBase
static interface CacheRevalidatorBase.ScheduledExecutor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidawaitTermination(org.apache.hc.core5.util.Timeout timeout)java.util.concurrent.Future<?>schedule(java.lang.Runnable command, org.apache.hc.core5.util.TimeValue timeValue)voidshutdown()
-
-
-
Method Detail
-
schedule
java.util.concurrent.Future<?> schedule(java.lang.Runnable command, org.apache.hc.core5.util.TimeValue timeValue) throws java.util.concurrent.RejectedExecutionException- Throws:
java.util.concurrent.RejectedExecutionException
-
shutdown
void shutdown()
-
awaitTermination
void awaitTermination(org.apache.hc.core5.util.Timeout timeout) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
-