com.ibm.ws.tpv.advisor.utils
Class AdvisorChartData
java.lang.Object
com.ibm.ws.tpv.advisor.utils.AdvisorChartData
- All Implemented Interfaces:
- java.io.Serializable
public class AdvisorChartData
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AdvisorChartData
public AdvisorChartData()
getCpuUsageIdle
public long getCpuUsageIdle()
- Returns:
- Returns the idle time of the cpu usage.
setCpuUsageIdle
public void setCpuUsageIdle(long cpuUsageIdle)
- Parameters:
cpuUsageIdle
- Sets the idle time of cpu usage.
getCpuUsageName
public java.lang.String getCpuUsageName()
- Returns:
- Returns a name for the cpu usage.
setCpuUsageName
public void setCpuUsageName(java.lang.String cpuUsageName)
- Parameters:
cpuUsageName
- Sets a name for the cpu usage.
getCpuUsageUsed
public long getCpuUsageUsed()
- Returns:
- Returns the used time of the cpu usage.
setCpuUsageUsed
public void setCpuUsageUsed(long cpuUsageUsed)
- Parameters:
cpuUsageUsed
- Sets the used time of the cpu usage.
getDataSourceConnectionsIdle
public long[] getDataSourceConnectionsIdle()
- Returns:
- Returns the idle connections for a datasource.
setDataSourceConnectionsIdle
public void setDataSourceConnectionsIdle(long[] dataSourceConnectionsIdle)
- Parameters:
dataSourceConnectionsIdle
- Sets the idle connections for a datasource.
getDataSourceConnectionsUsed
public long[] getDataSourceConnectionsUsed()
- Returns:
- Returns the used connections for a datasource.
setDataSourceConnectionsUsed
public void setDataSourceConnectionsUsed(long[] dataSourceConnectionsUsed)
- Parameters:
dataSourceConnectionsUsed
- Sets the used connections for a datasource.
getDataSourceNames
public java.lang.String[] getDataSourceNames()
- Returns:
- Returns the names of all the datasources.
getDataSourceTypes
public java.lang.String[] getDataSourceTypes()
- Returns:
- Returns the types of all the datasources.
setDataSourceNames
public void setDataSourceNames(java.lang.String[] dataSourceNames)
- Parameters:
dataSourceNames
- Sets names for the available datasources.
setDataSourceTypes
public void setDataSourceTypes(java.lang.String[] dataSourceTypes)
- Parameters:
dataSourceTypes
- Sets types for the available datasources.
getThreadPoolConnectionsIdle
public long[] getThreadPoolConnectionsIdle()
- Returns:
- Returns the idle connections of the thread pool.
setThreadPoolConnectionsIdle
public void setThreadPoolConnectionsIdle(long[] threadPoolConnectionsIdle)
- Parameters:
threadPoolConnectionsIdle
- Sets the idle connections for thread pool.
getThreadPoolConnectionsUsed
public long[] getThreadPoolConnectionsUsed()
- Returns:
- Returns the used connections of the threadpool.
setThreadPoolConnectionsUsed
public void setThreadPoolConnectionsUsed(long[] threadPoolConnectionsUsed)
- Parameters:
threadPoolConnectionsUsed
- Sets the used connections for the thread pool.
getThreadPoolNames
public java.lang.String[] getThreadPoolNames()
- Returns:
- Returns the names of thread pool.
getThreadPoolTypes
public java.lang.String[] getThreadPoolTypes()
- Returns:
- Returns the types of the thread pool.
setThreadPoolNames
public void setThreadPoolNames(java.lang.String[] threadPoolNames)
- Parameters:
threadPoolNames
- Sets the names for the thread pools.
setThreadPoolTypes
public void setThreadPoolTypes(java.lang.String[] threadPoolTypes)
- Parameters:
threadPoolTypes
- Sets the types for the thread pools.
getEjbContainerRequestsPerSecond
public double getEjbContainerRequestsPerSecond()
- Returns:
- Returns the requests received by the ejb container in one second.
setEjbContainerRequestsPerSecond
public void setEjbContainerRequestsPerSecond(double ejbContainerRequestsPerSecond)
- Parameters:
ejbContainerRequestsPerSecond
- Sets the requests per second received by the ejb container.
getEjbContainerResponseTime
public double getEjbContainerResponseTime()
- Returns:
- Returns the response time of the ejb container.
setEjbContainerResponseTime
public void setEjbContainerResponseTime(double ejbContainerResponseTime)
- Parameters:
ejbContainerResponseTime
- Sets the ejb container response time.
getWebContainerRequestsPerSecond
public double getWebContainerRequestsPerSecond()
- Returns:
- Returns the requests received per second by the web container.
setWebContainerRequestsPerSecond
public void setWebContainerRequestsPerSecond(double webContainerRequestsPerSecond)
- Parameters:
webContainerRequestsPerSecond
- Sets the requests received per second by the web container.
getWebContainerResponseTime
public double getWebContainerResponseTime()
- Returns:
- Returns the response time of the web container.
setWebContainerResponseTime
public void setWebContainerResponseTime(double webContainerResponseTime)
- Parameters:
webContainerResponseTime
- Sets the web container response time.
isCpuUsageAvailable
public boolean isCpuUsageAvailable()
- Returns:
- Returns the available time of the cpu usage.
setCpuUsageAvailable
public void setCpuUsageAvailable(boolean cpuUsageAvailable)
- Parameters:
cpuUsageAvailable
- Sets the available time of the cpu usage.
isDataSourcesAvailable
public boolean isDataSourcesAvailable()
- Returns:
- Returns the available data sources.
setDataSourcesAvailable
public void setDataSourcesAvailable(boolean dataSourcesAvailable)
- Parameters:
dataSourcesAvailable
- Sets the available data sources.
isThreadPoolsAvailable
public boolean isThreadPoolsAvailable()
- Returns:
- Returns the available thread pools.
setThreadPoolsAvailable
public void setThreadPoolsAvailable(boolean threadPoolsAvailable)
- Parameters:
threadPoolsAvailable
- Sets the available thread pools.
isEjbContainerAvailable
public boolean isEjbContainerAvailable()
- Returns:
- Returns the ejbContainerAvailable flag.
setEjbContainerAvailable
public void setEjbContainerAvailable(boolean ejbContainerAvailable)
- Parameters:
ejbContainerAvailable
- Sets the ejbContainerAvailable flag.
isWebContainerAvailable
public boolean isWebContainerAvailable()
- Returns:
- Returns the webContainerAvailable flag.
setWebContainerAvailable
public void setWebContainerAvailable(boolean webContainerAvailable)
- Parameters:
webContainerAvailable
- Sets the webContainerAvailable flag.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object