Interface SchedulingStrategy
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
ExponentialBackOffSchedulingStrategy
,ImmediateSchedulingStrategy
Specifies when revalidation requests are scheduled.
- Since:
- 4.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
schedule
(AsynchronousValidationRequest revalidationRequest) Schedule anAsynchronousValidationRequest
to be executed.
-
Method Details
-
schedule
Schedule anAsynchronousValidationRequest
to be executed.- Parameters:
revalidationRequest
- the request to be executed; notnull
- Throws:
RejectedExecutionException
- if the request could not be scheduled for execution
-