|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.storage.lock.FileLockHeartBeat
public class FileLockHeartBeat
Provides a Scheduled HeartBeat for the FileLock
Constructor Summary | |
---|---|
FileLockHeartBeat()
|
|
FileLockHeartBeat(String lockName)
|
Method Summary | |
---|---|
void |
execute(JobExecutionContext jobExecutionContext)
|
String |
getGroup()
Get the name group for the job |
String |
getName()
Get the name of the job |
void |
setName(String name)
Set the name of the job |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileLockHeartBeat()
public FileLockHeartBeat(String lockName)
Method Detail |
---|
public String getName()
JobDescription
getName
in interface JobDescription
public void setName(String name)
JobDescription
setName
in interface JobDescription
name
- The job's new namepublic String getGroup()
JobDescription
getGroup
in interface JobDescription
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException
execute
in interface Job
JobExecutionException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |