Interface SchedulingStrategy
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
ExponentialBackOffSchedulingStrategy
,ImmediateSchedulingStrategy
public interface SchedulingStrategy extends java.io.Closeable
Specifies when revalidation requests are scheduled.- Since:
- 4.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
schedule(AsynchronousValidationRequest revalidationRequest)
Schedule anAsynchronousValidationRequest
to be executed.
-
-
-
Method Detail
-
schedule
void schedule(AsynchronousValidationRequest revalidationRequest)
Schedule anAsynchronousValidationRequest
to be executed.- Parameters:
revalidationRequest
- the request to be executed; notnull
- Throws:
java.util.concurrent.RejectedExecutionException
- if the request could not be scheduled for execution
-
-