| Constructor and Description |
|---|
VistaHeartbeatTimerTask(EMAdapterEnvironment adapterEnvironment)
Constructor for VistaHeartbeatTimerTask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addManagedConnection(VistaLinkManagedConnection mc)
Adds a VistaLinkManagedConnection to managedConnections List.
|
long |
getHeartBeatRate()
Returns the heartBeatRate.
|
boolean |
isManagedConnectionListEmpty()
Returns whether or not the managedConnections List isEmpty().
|
void |
removeManagedConnection(VistaLinkManagedConnection mc)
Removes a VistaLinkManagedConnection from the managedConnections List.
|
void |
run()
Iterates through a list of managed Connections and executes a heart beat
on them.
|
void |
setHeartBeatRate(long heartBeatRate)
Sets the heartBeatRate.
|
cancel, scheduledExecutionTimepublic VistaHeartbeatTimerTask(EMAdapterEnvironment adapterEnvironment)
public void run()
If the heart beat fails on a managed connection, this method notifies that managed connection and its event listeners that an error has occurred
run in interface Runnablerun in class TimerTaskRunnable.run()public void addManagedConnection(VistaLinkManagedConnection mc)
mc - -
the managed connection to addpublic void removeManagedConnection(VistaLinkManagedConnection mc)
mc - public boolean isManagedConnectionListEmpty()
public long getHeartBeatRate()
public void setHeartBeatRate(long heartBeatRate)
heartBeatRate - The heartBeatRate to setCopyright © 2026. All rights reserved.