com.atlassian.confluence.jmx
Class TaskQueueWrapper

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

public class TaskQueueWrapper
extends Object

Wraps AbstractErrorQueuedTaskQueue to expose its more interesting statistics via JMX.


Constructor Summary
TaskQueueWrapper(com.atlassian.core.task.AbstractErrorQueuedTaskQueue queue)
           
 
Method Summary
 int getErrorQueueSize()
           
 Timestamp getFlushStarted()
           
 int getRetryCount()
           
 int getTasksSize()
           
 boolean isFlushing()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskQueueWrapper

public TaskQueueWrapper(com.atlassian.core.task.AbstractErrorQueuedTaskQueue queue)
Method Detail

getRetryCount

public int getRetryCount()

getErrorQueueSize

public int getErrorQueueSize()

size

public int size()

isFlushing

public boolean isFlushing()

getFlushStarted

public Timestamp getFlushStarted()

getTasksSize

public int getTasksSize()


Copyright © 2003–2015 Atlassian. All rights reserved.