|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.service.PurgeService
public class PurgeService
The PurgeService schedules purging of completed jobs and associated action older than a specified age for workflow, coordinator and bundle.
Field Summary | |
---|---|
static String |
BUNDLE_CONF_OLDER_THAN
|
static String |
CONF_OLDER_THAN
Age of completed jobs to be deleted, in days. |
static String |
CONF_PREFIX
|
static String |
CONF_PURGE_INTERVAL
Time interval, in seconds, at which the purge jobs service will be scheduled to run. |
static String |
COORD_CONF_OLDER_THAN
|
static String |
PURGE_LIMIT
|
Fields inherited from interface org.apache.oozie.service.Service |
---|
DEFAULT_LOCK_TIMEOUT, lockTimeout, USE_XCOMMAND |
Constructor Summary | |
---|---|
PurgeService()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the Purge Jobs Service. |
Class<? extends Service> |
getInterface()
Return the public interface for the purge jobs service. |
void |
init(Services services)
Initializes the PurgeService . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONF_PREFIX
public static final String CONF_OLDER_THAN
public static final String COORD_CONF_OLDER_THAN
public static final String BUNDLE_CONF_OLDER_THAN
public static final String CONF_PURGE_INTERVAL
public static final String PURGE_LIMIT
Constructor Detail |
---|
public PurgeService()
Method Detail |
---|
public void init(Services services)
PurgeService
.
init
in interface Service
services
- services instance.public void destroy()
destroy
in interface Service
public Class<? extends Service> getInterface()
getInterface
in interface Service
PurgeService
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |