Package com.atlassian.jira.index.ha
Class IndexSnapshotService
java.lang.Object
com.atlassian.jira.service.AbstractService
com.atlassian.jira.index.ha.IndexSnapshotService
- All Implemented Interfaces:
ObjectConfigurable,JiraService,Runnable
A service that when run will store a snapshot of the Lucene indexes
- Since:
- v6.2
-
Field Summary
Fields inherited from class com.atlassian.jira.service.AbstractService
log, name, SERVICE_EVENTFields inherited from interface com.atlassian.jira.service.JiraService
NAME_COMPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Return the key of this objectRetrieves an object configuration object with properties that can be setstatic StringbooleanBy default, returns false.booleanisUnique()By default, services are not unique.voidrun()This method must be implemented in a subclass, and performs the functionality that the service performs.Methods inherited from class com.atlassian.jira.service.AbstractService
destroy, getDefaultProperty, getDescription, getLongProperty, getName, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty, init, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.service.JiraService
init
-
Constructor Details
-
IndexSnapshotService
-
-
Method Details
-
getKey
Description copied from interface:ObjectConfigurableReturn the key of this object- Specified by:
getKeyin interfaceObjectConfigurable- Overrides:
getKeyin classAbstractService- Returns:
- Key of object
-
isUnique
public boolean isUnique()Description copied from class:AbstractServiceBy default, services are not unique.- Specified by:
isUniquein interfaceJiraService- Overrides:
isUniquein classAbstractService- Returns:
- false.
-
isInternal
public boolean isInternal()Description copied from class:AbstractServiceBy default, returns false.- Specified by:
isInternalin interfaceJiraService- Overrides:
isInternalin classAbstractService- Returns:
- false
-
run
public void run()Description copied from class:AbstractServiceThis method must be implemented in a subclass, and performs the functionality that the service performs. This method is called after the duration specified through the administration web interface.- Specified by:
runin interfaceJiraService- Specified by:
runin interfaceRunnable- Specified by:
runin classAbstractService- See Also:
-
getObjectConfiguration
Description copied from interface:ObjectConfigurableRetrieves an object configuration object with properties that can be set- Returns:
- ObjectConfiguration object
- Throws:
ObjectConfigurationException
-
getServiceName
-