com.atlassian.jira.service.services
Class CacheFlusher

java.lang.Object
  extended by com.atlassian.jira.service.AbstractService
      extended by com.atlassian.jira.service.services.CacheFlusher
All Implemented Interfaces:
ObjectConfigurable, JiraService, Runnable

public class CacheFlusher
extends AbstractService

Flushes caches in JIRA to save memory. Do not activate this unless you have independently determined it will not make your performance worse.

Since:
v6.1

Field Summary
 
Fields inherited from class com.atlassian.jira.service.AbstractService
name, SERVICE_EVENT
 
Fields inherited from interface com.atlassian.jira.service.JiraService
NAME_COMPARATOR
 
Constructor Summary
CacheFlusher()
           
 
Method Summary
 ObjectConfiguration getObjectConfiguration()
          Retrieves an object configuration object with properties that can be set
 void run()
          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, getKey, getLongProperty, getName, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty, init, isInternal, isUnique, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheFlusher

public CacheFlusher()
Method Detail

run

public void run()
Description copied from class: AbstractService
This 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:
run in interface JiraService
Specified by:
run in interface Runnable
Specified by:
run in class AbstractService
See Also:
JiraService.init(com.opensymphony.module.propertyset.PropertySet)

getObjectConfiguration

public ObjectConfiguration getObjectConfiguration()
                                           throws ObjectConfigurationException
Description copied from interface: ObjectConfigurable
Retrieves an object configuration object with properties that can be set

Returns:
ObjectConfiguration object
Throws:
ObjectConfigurationException


Copyright © 2002-2014 Atlassian. All Rights Reserved.