com.liferay.counter.service.persistence
Class ConnectionHeartbeatJob
java.lang.Object
com.liferay.counter.service.persistence.ConnectionHeartbeatJob
- All Implemented Interfaces:
- com.liferay.portal.kernel.job.IntervalJob
public class ConnectionHeartbeatJob
- extends java.lang.Object
- implements com.liferay.portal.kernel.job.IntervalJob
View Source
- Author:
- Michael Young
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTERVAL
public static final long INTERVAL
ConnectionHeartbeatJob
public ConnectionHeartbeatJob()
execute
public void execute(com.liferay.portal.kernel.job.JobExecutionContext context)
throws com.liferay.portal.kernel.job.JobExecutionException
- Specified by:
execute
in interface com.liferay.portal.kernel.job.IntervalJob
- Throws:
com.liferay.portal.kernel.job.JobExecutionException
getInterval
public long getInterval()
- Specified by:
getInterval
in interface com.liferay.portal.kernel.job.IntervalJob
sendHeartbeat
protected void sendHeartbeat()
throws java.lang.Exception
- Throws:
java.lang.Exception