org.exist.storage.lock
Class FileLockHeartBeat
java.lang.Object
org.exist.storage.lock.FileLockHeartBeat
- All Implemented Interfaces:
- JobDescription, Job
public class FileLockHeartBeat
- extends Object
- implements JobDescription, Job
Provides a Scheduled HeartBeat for the FileLock
FileLockHeartBeat
public FileLockHeartBeat()
FileLockHeartBeat
public FileLockHeartBeat(String lockName)
getName
public String getName()
- Description copied from interface:
JobDescription
- Get the name of the job
- Specified by:
getName in interface JobDescription
- Returns:
- The job's name
getGroup
public String getGroup()
- Description copied from interface:
JobDescription
- Get the name group for the job
- Specified by:
getGroup in interface JobDescription
- Returns:
- The job's group name
execute
public void execute(JobExecutionContext jobExecutionContext)
throws JobExecutionException
- Specified by:
execute in interface Job
- Throws:
JobExecutionException
Copyright (C) Wolfgang Meier. All rights reserved.