com.atlassian.confluence.jmx
Class JmxIndexManagerWrapper

java.lang.Object
  extended by com.atlassian.confluence.jmx.JmxIndexManagerWrapper

public class JmxIndexManagerWrapper
extends Object

Wrapper to expose statistics for ConfluenceIndexManager.


Constructor Summary
JmxIndexManagerWrapper(ConfluenceIndexManager indexManager)
           
 
Method Summary
 long getLastElapsedMilliseconds()
           
 String getLastReindexingTaskName()
           
 Date getLastStarted()
           
 boolean getLastWasOptimised()
          Deprecated. since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098
 boolean getLastWasRecreated()
           
 int getTaskQueueLength()
           
 boolean isFlushing()
           
 boolean isReIndexing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxIndexManagerWrapper

public JmxIndexManagerWrapper(ConfluenceIndexManager indexManager)
Method Detail

isFlushing

public boolean isFlushing()

isReIndexing

public boolean isReIndexing()

getLastReindexingTaskName

public String getLastReindexingTaskName()

getTaskQueueLength

public int getTaskQueueLength()

getLastStarted

public Date getLastStarted()

getLastElapsedMilliseconds

public long getLastElapsedMilliseconds()

getLastWasRecreated

public boolean getLastWasRecreated()

getLastWasOptimised

public boolean getLastWasOptimised()
Deprecated. since 5.2. Optimize index (i.e. force merging to 1 segment is no longer required) CONFDEV-16098

Returns:


Copyright © 2003–2015 Atlassian. All rights reserved.