public class ReplicatedIndexCleaningService extends AbstractService
| Modifier and Type | Field and Description |
|---|---|
static String |
RETENTION_PERIOD |
log, name, SERVICE_EVENTNAME_COMPARATOR| Constructor and Description |
|---|
ReplicatedIndexCleaningService(ClusterManager clusterManager,
OfBizReplicatedIndexOperationStore ofBizReplicatedIndexOperationStore,
JiraDurationUtils jiraDurationUtils,
JiraAuthenticationContext jiraAuthenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
ObjectConfiguration |
getObjectConfiguration()
Retrieves an object configuration object with properties that can be set
|
long |
getRetentionPeriod() |
void |
init(com.opensymphony.module.propertyset.PropertySet props)
Initialise the service.
|
void |
run()
This method must be implemented in a subclass, and performs the functionality
that the service performs.
|
destroy, getDefaultProperty, getDescription, getKey, getLongProperty, getName, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty, isInternal, isUnique, setNamepublic static final String RETENTION_PERIOD
public ReplicatedIndexCleaningService(ClusterManager clusterManager, OfBizReplicatedIndexOperationStore ofBizReplicatedIndexOperationStore, JiraDurationUtils jiraDurationUtils, JiraAuthenticationContext jiraAuthenticationContext)
public void init(com.opensymphony.module.propertyset.PropertySet props)
throws ObjectConfigurationException
JiraServiceinit in interface JiraServiceinit in class AbstractServiceprops - initialisation parametersObjectConfigurationException - in case of an error with initialisation parameterspublic void run()
AbstractServicerun in interface JiraServicerun in interface Runnablerun in class AbstractServiceJiraService.init(com.opensymphony.module.propertyset.PropertySet)public ObjectConfiguration getObjectConfiguration() throws ObjectConfigurationException
ObjectConfigurableObjectConfigurationExceptionpublic long getRetentionPeriod()
Copyright © 2002-2015 Atlassian. All Rights Reserved.