public interface StampyHeartbeatContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HB1
The Constant HB1.
|
static java.lang.String |
HB2
The Constant HB2.
|
| Modifier and Type | Method and Description |
|---|---|
void |
remove(HostPort hostPort)
Removes the
PaceMaker specified by HostPort. |
void |
reset(HostPort hostPort)
Resets the
PaceMaker for the specified HostPort, preventing
a heartbeat from being sent. |
void |
start(HostPort hostPort,
AbstractStampyMessageGateway gateway,
int timeMillis)
Starts a heartbeat for the specified host & port.
|
void |
stop(HostPort hostPort)
Stops heartbeats to the specified
HostPort. |
static final java.lang.String HB1
static final java.lang.String HB2
void start(HostPort hostPort, AbstractStampyMessageGateway gateway, int timeMillis)
hostPort - gateway - timeMillis - void stop(HostPort hostPort)
HostPort.hostPort - the host portvoid remove(HostPort hostPort)
PaceMaker specified by HostPort.hostPort - the host port