|
JBoss Modular Service Container 1.1.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.msc.service.StabilityStatistics
public final class StabilityStatistics

A stability monitor statistics. Allows to collect statistics data
about ServiceControllers registered with StabilityMonitor object.
The following data are available:
getActiveCount()getFailedCount()getLazyCount()getNeverCount()getOnDemandCount()getPassiveCount()getProblemsCount()getStartedCount()getRemovedCount()StabilityMonitor monitor = ... StabilityStatistics statistics = new StabilityStatistics(); monitor.awaitStability(statistics); // do something with statistics object.
StabilityMonitor| Constructor Summary | |
|---|---|
StabilityStatistics()
|
|
| Method Summary | |
|---|---|
int |
getActiveCount()
Returns count of controllers registered with StabilityMonitor that are in
ServiceController.Mode.ACTIVE mode. |
int |
getFailedCount()
Returns count of controllers registered with StabilityMonitor that failed to start
because of start exception being thrown. |
int |
getLazyCount()
Returns count of controllers registered with StabilityMonitor that are in
ServiceController.Mode.LAZY mode. |
int |
getNeverCount()
Returns count of controllers registered with StabilityMonitor that are in
ServiceController.Mode.NEVER mode. |
int |
getOnDemandCount()
Returns count of controllers registered with StabilityMonitor that are in
ServiceController.Mode.ON_DEMAND mode. |
int |
getPassiveCount()
Returns count of controllers registered with StabilityMonitor that are in
ServiceController.Mode.PASSIVE mode. |
int |
getProblemsCount()
Returns count of controllers registered with StabilityMonitor that had problem to start
because of missing dependencies. |
int |
getRemovedCount()
Deprecated. |
int |
getStartedCount()
Returns count of controllers registered with StabilityMonitor that are in
ServiceController.State.UP state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StabilityStatistics()
| Method Detail |
|---|
public int getActiveCount()
StabilityMonitor that are in
ServiceController.Mode.ACTIVE mode.
public int getFailedCount()
StabilityMonitor that failed to start
because of start exception being thrown.
public int getLazyCount()
StabilityMonitor that are in
ServiceController.Mode.LAZY mode.
public int getNeverCount()
StabilityMonitor that are in
ServiceController.Mode.NEVER mode.
public int getOnDemandCount()
StabilityMonitor that are in
ServiceController.Mode.ON_DEMAND mode.
public int getPassiveCount()
StabilityMonitor that are in
ServiceController.Mode.PASSIVE mode.
public int getProblemsCount()
StabilityMonitor that had problem to start
because of missing dependencies.
public int getStartedCount()
StabilityMonitor that are in
ServiceController.State.UP state.
@Deprecated public int getRemovedCount()
StabilityMonitor that are in
ServiceController.Mode.REMOVE mode.
|
JBoss Modular Service Container 1.1.2.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||