public class PurgeService extends Object implements Service
Modifier and Type | Field and Description |
---|---|
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_COMMAND_ENABLED |
static String |
PURGE_LIMIT |
static String |
PURGE_OLD_COORD_ACTION |
DEFAULT_LOCK_TIMEOUT, lockTimeout
Constructor and Description |
---|
PurgeService() |
Modifier and Type | Method and Description |
---|---|
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 . |
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 PURGE_OLD_COORD_ACTION
public static final String CONF_PURGE_INTERVAL
public static final String PURGE_LIMIT
public static final String PURGE_COMMAND_ENABLED
public PurgeService()
public void init(Services services)
PurgeService
.public void destroy()
public Class<? extends Service> getInterface()
getInterface
in interface Service
PurgeService
.Copyright © 2018 Apache Software Foundation. All rights reserved.