com.atlassian.jira.util.index
Class IndexingCounterManagerImpl

java.lang.Object
  extended by com.atlassian.jira.util.index.IndexingCounterManagerImpl
All Implemented Interfaces:
Startable, IndexingCounter, IndexingCounterManager

public class IndexingCounterManagerImpl
extends Object
implements IndexingCounterManager, IndexingCounter, Startable

Since:
v6.0

Constructor Summary
IndexingCounterManagerImpl(BackingPropertySetManager backingPropertySetManager, com.atlassian.beehive.ClusterLockService clusterLockService)
           
 
Method Summary
 long getCurrentValue()
          This method returns the current re-indexing count.
 long incrementValue()
           
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexingCounterManagerImpl

public IndexingCounterManagerImpl(BackingPropertySetManager backingPropertySetManager,
                                  com.atlassian.beehive.ClusterLockService clusterLockService)
Method Detail

start

public void start()
Description copied from interface: Startable
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Specified by:
start in interface Startable

getCurrentValue

public long getCurrentValue()
Description copied from interface: IndexingCounter
This method returns the current re-indexing count.

Specified by:
getCurrentValue in interface IndexingCounter
Returns:
the value of the most recent re-index run

incrementValue

public long incrementValue()
Specified by:
incrementValue in interface IndexingCounterManager


Copyright © 2002-2014 Atlassian. All Rights Reserved.