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
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.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024