Package com.ultikits.ultitools.utils
Class AgentConnection.Timing
java.lang.Object
com.ultikits.ultitools.utils.AgentConnection.Timing
- Enclosing class:
AgentConnection
The connection's timers.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final long(package private) final long(package private) final long(package private) final long(package private) final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTiming(long handshakeDeadlineMs, long heartbeatIntervalMs, long heartbeatTimeoutMs, long supersededResetMs, long planLimitRetryMs) -
Method Summary
Modifier and TypeMethodDescription(package private) static AgentConnection.Timingdefaults()(package private) static AgentConnection.Timingof(long handshakeDeadlineMs, long heartbeatIntervalMs, long heartbeatTimeoutMs, long supersededResetMs, long planLimitRetryMs)
-
Field Details
-
handshakeDeadlineMs
final long handshakeDeadlineMs -
heartbeatIntervalMs
final long heartbeatIntervalMs -
heartbeatTimeoutMs
final long heartbeatTimeoutMs -
supersededResetMs
final long supersededResetMs -
planLimitRetryMs
final long planLimitRetryMs
-
-
Constructor Details
-
Timing
private Timing(long handshakeDeadlineMs, long heartbeatIntervalMs, long heartbeatTimeoutMs, long supersededResetMs, long planLimitRetryMs)
-
-
Method Details
-
defaults
- Returns:
- the production timers
-
of
static AgentConnection.Timing of(long handshakeDeadlineMs, long heartbeatIntervalMs, long heartbeatTimeoutMs, long supersededResetMs, long planLimitRetryMs) - Returns:
- timers for tests
-