| |
|
| java.lang.Object com.sun.jbi.management.system.DeploymentServiceStatistics
DeploymentServiceStatistics | public class DeploymentServiceStatistics implements DeploymentServiceStatisticsMBean(Code) | | This class implements the MBean for collection of statistics for the
deployment service. All statistics are since the last deployment service startup;
they are all reset when the deployment service is restarted.
author: Sun Microsystems, Inc. |
DeploymentServiceStatistics | DeploymentServiceStatistics(DeploymentService mDeploySvc, EnvironmentContext env)(Code) | | Constructor to create the StatisticsBase and MessagingStatistics
instances.
Parameters: mDeploySvc - reference to the deployment service Parameters: env - EnvironmentContect |
getLastRestartTime | public Date getLastRestartTime()(Code) | | Get the time that the deployment service was last started.
The time of the last successful start() call. |
getServiceAssemblyStatistics | public CompositeData getServiceAssemblyStatistics(String serviceAssemblyName) throws OpenDataException, RuntimeException(Code) | | Get the CompositeData instance that represents the current values for
Service Assembly statistics.
Parameters: serviceAssemblyName - SA name SA statistics in a CompositedData instance |
isEnabled | public boolean isEnabled()(Code) | | Check if statistics collection is enabled
true if enabled |
setDisabled | public void setDisabled()(Code) | | Disable statistics collection. This method causes collection for this
object and all its child objects to be disabled.
|
setEnabled | public void setEnabled()(Code) | | Enable statistics collection. This method causes collection for this
object and all its child objects to be disabled.
|
setLastRestartTime | public void setLastRestartTime(Date restartTime)(Code) | | This method is used to set the last restart time.
Parameters: The - time of the last successful init() call. |
|
|
|