public interface TimeoutStrategy
| Modifier and Type | Method and Description |
|---|---|
default boolean |
checkTimeout()
Check if total timeout will be reached by now.
|
boolean |
checkTimeout(long timeInFut)
Check if total timeout will be reached in now() + timeInFut.
|
default long |
nextTimeout()
Get next timeout.
|
long |
nextTimeout(long currTimeout)
Get next timeout based on previously timeout calculated by strategy.
|
long nextTimeout(long currTimeout)
throws IgniteSpiOperationTimeoutException
currTimeout - Current timeout value that is used to calculate the next one.IgniteSpiOperationTimeoutException - in case of total timeout already breached.default long nextTimeout()
throws IgniteSpiOperationTimeoutException
IgniteSpiOperationTimeoutException - In case of total timeout already breached.boolean checkTimeout(long timeInFut)
timeInFut - Some millis in future.True if total timeout will be reached.default boolean checkTimeout()
True if total timeout already reached.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023