public class ThreadingView extends Object implements ThreadingViewMBean
Constructor and Description |
---|
ThreadingView(String threadNamePrefix) |
ThreadingView(String threadNamePrefix,
boolean periodicLogs,
double alertMargin) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
double |
getAvgBlockedWorkerPercentage() |
double |
getAvgUnblockedWorkerPercentage() |
String[] |
getDeadLockedWorkers() |
double |
getLast15MinuteBlockedWorkerPercentage() |
double |
getLast24HourBlockedWorkerPercentage() |
double |
getLast5MinuteBlockedWorkerPercentage() |
double |
getLast8HourBlockedWorkerPercentage() |
double |
getLastHourBlockedWorkerPercentage() |
double |
getLastMinuteBlockedWorkerPercentage() |
Date |
getLastResetTime() |
int |
getTotalWorkerCount() |
void |
reset() |
public ThreadingView(String threadNamePrefix)
public ThreadingView(String threadNamePrefix, boolean periodicLogs, double alertMargin)
public void destroy()
public int getTotalWorkerCount()
getTotalWorkerCount
in interface ThreadingViewMBean
public String[] getDeadLockedWorkers()
getDeadLockedWorkers
in interface ThreadingViewMBean
public double getAvgBlockedWorkerPercentage()
getAvgBlockedWorkerPercentage
in interface ThreadingViewMBean
public double getAvgUnblockedWorkerPercentage()
getAvgUnblockedWorkerPercentage
in interface ThreadingViewMBean
public double getLastMinuteBlockedWorkerPercentage()
getLastMinuteBlockedWorkerPercentage
in interface ThreadingViewMBean
public double getLast5MinuteBlockedWorkerPercentage()
getLast5MinuteBlockedWorkerPercentage
in interface ThreadingViewMBean
public double getLast15MinuteBlockedWorkerPercentage()
getLast15MinuteBlockedWorkerPercentage
in interface ThreadingViewMBean
public double getLastHourBlockedWorkerPercentage()
getLastHourBlockedWorkerPercentage
in interface ThreadingViewMBean
public double getLast8HourBlockedWorkerPercentage()
getLast8HourBlockedWorkerPercentage
in interface ThreadingViewMBean
public double getLast24HourBlockedWorkerPercentage()
getLast24HourBlockedWorkerPercentage
in interface ThreadingViewMBean
public Date getLastResetTime()
getLastResetTime
in interface ThreadingViewMBean
public void reset()
reset
in interface ThreadingViewMBean
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.