|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.sampling.XServerSampler
public class XServerSampler
Server sampler.
| Constructor Summary | |
|---|---|
XServerSampler(String type)
Constructor: saves the sampler type. |
|
| Method Summary | |
|---|---|
void |
addManagee(String name,
String jmxUrl)
Adds a manangee. |
String |
getCmdId()
|
void |
mbeanPoll(long period,
PrintStream out)
Polls the MBean. |
void |
process(long period,
PrintStream out)
Start processing. |
void |
setCmdId(String c)
|
void |
setCommandDispatcher(CommandDispatcher commandDispatcher)
|
void |
setOnPattern(String objectNameAsString)
|
void |
stopProcessing()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XServerSampler(String type)
type - Sampler type| Method Detail |
|---|
public void stopProcessing()
public void addManagee(String name,
String jmxUrl)
name - Managee name.jmxUrl - JMX URL for managee.public void setOnPattern(String objectNameAsString)
objectNameAsString - Object name filter pattern.
public void mbeanPoll(long period,
PrintStream out)
throws Exception
period - Period of pollingout - Stream to output results into.
Exception
public final void process(long period,
PrintStream out)
throws Exception
period - Poll period.out - Stream to output results into.cmdDispatcher - The command dispatcher is MBeanCmd is not autonomous
Exceptionpublic void setCommandDispatcher(CommandDispatcher commandDispatcher)
public void setCmdId(String c)
public String getCmdId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||