Package com.persequor.extension
Class Delay
java.lang.Object
com.persequor.extension.Delay
-
Method Summary
Modifier and TypeMethodDescriptionaddWakeupKeys
(String... wakeupKeys) static Delay
Use this configuration if you are waiting on data to come into the systemstatic Delay
Eagerly()
Use this configuration if retrying is not that expensive for this process, and you can try again quickly a lot of timesstatic Delay
Fluke()
Use this configuration if something fails, but you expect it to work right away afterstatic Delay
static Delay
Use this configuration if you don't expect immediate resolution, and primary expect to use the wakeup keys to retry.
-
Method Details
-
Fluke
Use this configuration if something fails, but you expect it to work right away after- Returns:
- the delay
-
DataMissingTemporarily
Use this configuration if you are waiting on data to come into the system- Returns:
- the delay
-
Eagerly
Use this configuration if retrying is not that expensive for this process, and you can try again quickly a lot of times- Returns:
- the delay
-
Patiently
Use this configuration if you don't expect immediate resolution, and primary expect to use the wakeup keys to retry.- Returns:
- the delay
-
get
-
getConfigurationName
-
addWakeupKeys
-
getWakeupKeys
-