Package de.hybris.platform.cluster
Class ClusterNodePingUpdater
- java.lang.Object
-
- java.lang.Thread
-
- de.hybris.platform.core.threadregistry.RegistrableThread
-
- de.hybris.platform.cluster.ClusterNodePingUpdater
-
- All Implemented Interfaces:
java.lang.Runnable
public class ClusterNodePingUpdater extends RegistrableThread
-
-
Constructor Summary
Constructors Constructor Description ClusterNodePingUpdater(ClusterNodeDAO dao, int ownClusterID, long interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinternalRun()voidstopUpdatingAndFinish(long timeoutMillis)protected voidupdateNodeRecord()protected voidwithInitialInfo()-
Methods inherited from class de.hybris.platform.core.threadregistry.RegistrableThread
registerThread, run, unregisterThread, withInitialInfo
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
ClusterNodePingUpdater
public ClusterNodePingUpdater(ClusterNodeDAO dao, int ownClusterID, long interval)
-
-
Method Detail
-
withInitialInfo
protected void withInitialInfo()
-
internalRun
public void internalRun()
- Overrides:
internalRunin classRegistrableThread
-
updateNodeRecord
protected void updateNodeRecord()
-
stopUpdatingAndFinish
public void stopUpdatingAndFinish(long timeoutMillis)
-
-