public class LoadMerger
extends java.lang.Object
Constructor and Description |
---|
LoadMerger(java.lang.String identifier)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
getBenchmarkValue()
Gets the benchmark value.
|
java.util.Vector<java.lang.String> |
getContainerList()
Gets the container list.
|
java.lang.String |
getIdentifier()
Returns the current identifier.
|
java.util.Vector<java.lang.String> |
getJvmList()
Gets the list of JVM.
|
PlatformLoad |
getMachineLoad()
Returns the machine load.
|
java.lang.Integer |
getNumberOfAgents()
Returns the number of agents.
|
void |
merge(java.lang.String containerName,
java.lang.String jvmPID,
java.lang.Float benchValue,
PlatformLoad pLoad,
java.lang.Integer nAgents)
Cumlate the information coming from a container, so that the informations are available
per JVM or machine/computer.
|
public LoadMerger(java.lang.String identifier)
identifier
- An identifier, which is for example the PID for a JVM or an URL for a computerpublic void merge(java.lang.String containerName, java.lang.String jvmPID, java.lang.Float benchValue, PlatformLoad pLoad, java.lang.Integer nAgents)
containerName
- the container namejvmPID
- The PID of the JAVA virtual machinebenchValue
- the benchmark valuepLoad
- the PlatformLoadnAgents
- the number of agentspublic java.lang.String getIdentifier()
public java.util.Vector<java.lang.String> getJvmList()
public java.util.Vector<java.lang.String> getContainerList()
public java.lang.Float getBenchmarkValue()
public PlatformLoad getMachineLoad()
public java.lang.Integer getNumberOfAgents()