public class ServiceUnitStatisticsData extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
endpointNameList |
static String |
ENDPOINTS_KEY |
protected String |
name |
static String |
NAME_KEY |
static String |
SHUTDOWN_TIME_AVG_KEY |
protected long |
shutdownTimeAverage |
static String |
STARTUP_TIME_AVG_KEY |
protected long |
startupTimeAverage |
static String |
STOP_TIME_AVG_KEY |
protected long |
stopTimeAverage |
| Constructor and Description |
|---|
ServiceUnitStatisticsData()
Constructor - creates a ServiceUnitStatisticsData object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayString() |
String[] |
getEndpointNameArray() |
List<String> |
getEndpointNameList() |
String |
getName() |
long |
getShutdownTimeAverage() |
long |
getStartupTimeAverage() |
long |
getStopTimeAverage() |
static void |
main(String[] args) |
void |
setEndpointNameList(List<String> endpointNameList) |
void |
setEndpointNameList(String[] endpointNameArray) |
void |
setName(String serviceUnitName) |
void |
setShutdownTimeAverage(long serviceUnitShutdownTime) |
void |
setStartupTimeAverage(long serviceUnitStartTime) |
void |
setStopTimeAverage(long serviceUnitStopTime) |
protected static <Type> Type[] |
toArray(Collection<Type> collection,
Class<Type> componentType)
Convert a collection to an array
|
public static final String NAME_KEY
public static final String STARTUP_TIME_AVG_KEY
public static final String STOP_TIME_AVG_KEY
public static final String SHUTDOWN_TIME_AVG_KEY
public static final String ENDPOINTS_KEY
protected String name
protected long startupTimeAverage
protected long stopTimeAverage
protected long shutdownTimeAverage
public ServiceUnitStatisticsData()
public String getName()
public void setName(String serviceUnitName)
serviceUnitName - the serviceUnitName to setpublic long getStartupTimeAverage()
public void setStartupTimeAverage(long serviceUnitStartTime)
startupTimeAverage - the startupTimeAverage to setpublic long getStopTimeAverage()
public void setStopTimeAverage(long serviceUnitStopTime)
stopTimeAverage - the stopTimeAverage to setpublic long getShutdownTimeAverage()
public void setShutdownTimeAverage(long serviceUnitShutdownTime)
shutdownTimeAverage - the shutdownTimeAverage to setpublic String[] getEndpointNameArray()
public void setEndpointNameList(List<String> endpointNameList)
endpointNameList - the endpointNameList to setpublic void setEndpointNameList(String[] endpointNameArray)
endpointNameArray - the endpointNameArray to setprotected static <Type> Type[] toArray(Collection<Type> collection, Class<Type> componentType)
collection - componentType - public String getDisplayString()
public static void main(String[] args)
args - Copyright © 2011-2016 OpenESB Community. All Rights Reserved.