public class ServiceAssemblyStatistics extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INSTANCE_NAME
instance name
|
static String |
JBI_INSTANCE_NAME_DESCRIPTION
instance name description
|
static String |
SA_STATISTICS_ITEM_DESCRIPTION
description for SA statistics table item
|
static String |
SA_STATISTICS_ITEM_NAME
name for SA statistics table item
|
static String |
SERVICE_ASSEMBLY_LAST_STARTUP_TIME
last startup time
|
static String |
SERVICE_ASSEMBLY_LAST_STARTUP_TIME_DESCRIPTION
SA startup time description
|
static String |
SERVICE_ASSEMBLY_NAME
SA Name
|
static String |
SERVICE_ASSEMBLY_NAME_DESCRIPTION
SA name description
|
static String |
SERVICE_ASSEMBLY_SHUTDOWN_TIME
SA Shutdown time
|
static String |
SERVICE_ASSEMBLY_SHUTDOWN_TIME_DESCTIPTION
SA shutdown time - description
|
static String |
SERVICE_ASSEMBLY_STARTUP_TIME
SA startup time
|
static String |
SERVICE_ASSEMBLY_STARTUP_TIME_DESCRIPTION
SA startup time - description
|
static String |
SERVICE_ASSEMBLY_STOP_TIME
SA stop time
|
static String |
SERVICE_ASSEMBLY_STOP_TIME_DESCRIPTION
SA stop time - description
|
static String |
SERVICE_ASSEMBLY_SU_STATISTICS
SA list of SU statistics
|
static String |
SERVICE_ASSEMBLY_SU_STATISTICS_DESCRIPTION
SU statistics list - description
|
static String |
SERVICE_ASSEMBLY_UPTIME
SA Uptime
|
static String |
SERVICE_ASSEMBLY_UPTIME_DESCRIPTION
SA uptime desctiption
|
static String |
SERVICE_UNIT_NAME
service unit name
|
static String |
SERVICE_UNIT_NAME_DESCRIPTION
Service unit name description
|
static String |
SERVICE_UNIT_SHUTDOWN_TIME
service unit shutdown time
|
static String |
SERVICE_UNIT_SHUTDOWN_TIME_DESCRIPTION
Average of service unit shutdown time
|
static String |
SERVICE_UNIT_STARTUP_TIME
service unit startup time
|
static String |
SERVICE_UNIT_STARTUP_TIME_DESCRIPTION
Average of service unit startup times in ms.
|
static String |
SERVICE_UNIT_STOP_TIME
service unit stop time
|
static String |
SERVICE_UNIT_STOP_TIME_DESCRIPTION
Average of service unit stop times in ms.
|
static String |
SU_STATISTICS_ITEM_DESCRIPTION
description for SU statistics table item
|
static String |
SU_STATISTICS_ITEM_NAME
name for SU statistics table item
|
| Modifier and Type | Method and Description |
|---|---|
CompositeData |
getCompositeData()
return the stats as composite data
|
String |
getInstanceName()
get the instance name
|
Date |
getLastShutdownTime()
get last shutdown time
|
Date |
getLastStartupTime()
get last startup time
|
Date |
getLastStopTime()
get last stop time
|
String |
getName()
get the name of the su
|
com.sun.jbi.management.system.ServiceAssemblyStatistics.Value |
getShutdownTime()
get shutdown times
|
com.sun.jbi.management.system.ServiceAssemblyStatistics.Value |
getStartupTime()
get startup times
|
com.sun.jbi.management.system.ServiceAssemblyStatistics.Value |
getStopTime()
get stop times
|
void |
setServiceUnitList(Map<String,com.sun.jbi.management.system.ServiceAssemblyStatistics.ServiceUnitStatistics> serviceUnitStats)
set the su list
|
void |
updateShutdownStatistics(Date beginTime,
Date endTime,
Map<String,Long> suTimes)
this method is used to update the statistics of a SA
|
void |
updateStartupStatistics(Date beginTime,
Date endTime,
Map<String,Long> suTimes)
this method is used to update the statistics of a SA
|
void |
updateStopStatistics(Date beginTime,
Date endTime,
Map<String,Long> suTimes)
this method is used to update the statistics of a SA
|
public static String SA_STATISTICS_ITEM_NAME
public static String SA_STATISTICS_ITEM_DESCRIPTION
public static String SU_STATISTICS_ITEM_NAME
public static String SU_STATISTICS_ITEM_DESCRIPTION
public static String SERVICE_UNIT_NAME
public static String SERVICE_UNIT_STARTUP_TIME
public static String SERVICE_UNIT_STOP_TIME
public static String SERVICE_UNIT_SHUTDOWN_TIME
public static String INSTANCE_NAME
public static String SERVICE_ASSEMBLY_NAME
public static String SERVICE_ASSEMBLY_UPTIME
public static String SERVICE_ASSEMBLY_LAST_STARTUP_TIME
public static final String SERVICE_ASSEMBLY_STARTUP_TIME
public static final String SERVICE_ASSEMBLY_STOP_TIME
public static final String SERVICE_ASSEMBLY_SHUTDOWN_TIME
public static final String SERVICE_ASSEMBLY_SU_STATISTICS
public static final String SERVICE_UNIT_NAME_DESCRIPTION
public static final String SERVICE_UNIT_STARTUP_TIME_DESCRIPTION
public static final String SERVICE_UNIT_STOP_TIME_DESCRIPTION
public static final String SERVICE_UNIT_SHUTDOWN_TIME_DESCRIPTION
public static final String JBI_INSTANCE_NAME_DESCRIPTION
public static final String SERVICE_ASSEMBLY_NAME_DESCRIPTION
public static final String SERVICE_ASSEMBLY_UPTIME_DESCRIPTION
public static final String SERVICE_ASSEMBLY_LAST_STARTUP_TIME_DESCRIPTION
public static final String SERVICE_ASSEMBLY_STARTUP_TIME_DESCRIPTION
public static final String SERVICE_ASSEMBLY_STOP_TIME_DESCRIPTION
public static final String SERVICE_ASSEMBLY_SHUTDOWN_TIME_DESCTIPTION
public static final String SERVICE_ASSEMBLY_SU_STATISTICS_DESCRIPTION
public Date getLastStartupTime()
public Date getLastStopTime()
public Date getLastShutdownTime()
public com.sun.jbi.management.system.ServiceAssemblyStatistics.Value getStartupTime()
public com.sun.jbi.management.system.ServiceAssemblyStatistics.Value getStopTime()
public com.sun.jbi.management.system.ServiceAssemblyStatistics.Value getShutdownTime()
public String getName()
public String getInstanceName()
public void setServiceUnitList(Map<String,com.sun.jbi.management.system.ServiceAssemblyStatistics.ServiceUnitStatistics> serviceUnitStats)
serviceUnitStats - su stats object listpublic void updateStartupStatistics(Date beginTime, Date endTime, Map<String,Long> suTimes)
beginTime - time when the start operation was begunendTime - time when the start operation finishedsuTimes - map of suNames and their startupTimespublic void updateStopStatistics(Date beginTime, Date endTime, Map<String,Long> suTimes)
beginTime - time when the stop operation was begunendTime - time when the stop operation finishedsuTimes - map of suNames and their stopTimespublic void updateShutdownStatistics(Date beginTime, Date endTime, Map<String,Long> suTimes)
beginTime - time when the shutdown operation was begunendTime - time when the shutdown operation finishedsuTimes - map of suNames and their shutdownTimespublic CompositeData getCompositeData() throws OpenDataException
OpenDataExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.