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)
           
 
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)
Method Detail

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

start

public void start()
           throws Exception
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
Throws:
Exception - Allows implementations to throw an Exception.


Copyright © 2002-2013 Atlassian. All Rights Reserved.