org.apache.jmeter.visualizers

Class MonitorStats

Implemented Interfaces:
Cloneable, Serializable, TestElement

public class MonitorStats
extends AbstractTestElement
implements Serializable

Fields inherited from interface org.apache.jmeter.testelement.TestElement

COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS

Constructor Summary

MonitorStats()
MonitorStats(int health, int load, int cpuload, int memload, int threadload, String host, String port, String protocol, long time)
Default constructor

Method Summary

int
getCpuLoad()
int
getHealth()
String
getHost()
int
getLoad()
int
getMemLoad()
String
getPort()
String
getProtocol()
int
getThreadLoad()
long
getTimeStamp()
String
getURL()
For convienance, this method returns the protocol, host and port as a URL.
void
setCpuLoad(int load)
void
setHealth(int health)
void
setHost(String host)
void
setLoad(int load)
void
setMemLoad(int load)
void
setPort(String port)
void
setProtocol(String protocol)
void
setThreadLoad(int load)
void
setTimeStamp(long time)

Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement

addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty

Constructor Details

MonitorStats

public MonitorStats()

MonitorStats

public MonitorStats(int health,
                    int load,
                    int cpuload,
                    int memload,
                    int threadload,
                    String host,
                    String port,
                    String protocol,
                    long time)
Default constructor
Parameters:
health -
load -
cpuload -
memload -
threadload -
host -
port -
protocol -
time -

Method Details

getCpuLoad

public int getCpuLoad()

getHealth

public int getHealth()

getHost

public String getHost()

getLoad

public int getLoad()

getMemLoad

public int getMemLoad()

getPort

public String getPort()

getProtocol

public String getProtocol()

getThreadLoad

public int getThreadLoad()

getTimeStamp

public long getTimeStamp()

getURL

public String getURL()
For convienance, this method returns the protocol, host and port as a URL.
Returns:
protocol://host:port

setCpuLoad

public void setCpuLoad(int load)

setHealth

public void setHealth(int health)

setHost

public void setHost(String host)

setLoad

public void setLoad(int load)

setMemLoad

public void setMemLoad(int load)

setPort

public void setPort(String port)

setProtocol

public void setProtocol(String protocol)

setThreadLoad

public void setThreadLoad(int load)

setTimeStamp

public void setTimeStamp(long time)

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.