public class SlaveHostPinger extends Object
Modifier and Type | Field and Description |
---|---|
static long |
SHORT_TIMEOUT |
static long |
STD_INTERVAL |
static long |
STD_TIMEOUT |
Constructor and Description |
---|
SlaveHostPinger(String hostName,
ManagementChannelHandler channelHandler,
ScheduledExecutorService scheduler,
long remoteConnectionID) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
Long |
getRemoteConnectionID() |
boolean |
isCancelled() |
void |
schedulePing(long timeout,
long delay) |
public static final long STD_INTERVAL
public static final long STD_TIMEOUT
public static final long SHORT_TIMEOUT
public SlaveHostPinger(String hostName, ManagementChannelHandler channelHandler, ScheduledExecutorService scheduler, long remoteConnectionID)
public Long getRemoteConnectionID()
public void schedulePing(long timeout, long delay)
public boolean isCancelled()
public void cancel()
Copyright © 2023 JBoss by Red Hat. All rights reserved.