|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.sampling.Sampler
org.ow2.jasmine.monitoring.mbeancmd.sampling.WebSampler
public class WebSampler
Sampler that retrieves statistics from the HTTP server.
Field Summary | |
---|---|
private javax.management.ObjectName[] |
onGRP
Global request processors. |
private javax.management.ObjectName[] |
onSessions
Session managers. |
private javax.management.ObjectName[] |
onThreadPool
Thread pools. |
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.Sampler |
---|
oNames |
Constructor Summary | |
---|---|
WebSampler(java.lang.String urlString)
Implementation of inherited method. |
Method Summary | |
---|---|
java.lang.String |
getDefaultOn()
Implementation of inherited abstract method. |
void |
init()
Override of inherited method: will initialize all object name arrays. |
protected SampleData |
newSampleData()
Implementation of inherited abstract method. |
protected SampleData |
poll(SampleData data)
Implementation of inherited abstract method, will call all pollers of this class. |
private void |
pollGlobalRequestProcessor(WebData data)
Polls global request processor provider for data. |
private void |
pollSessions(WebData data)
Polls session provider for data. |
private void |
pollThreadPool(WebData data)
Polls thread pools for data. |
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.Sampler |
---|
getDomain, getMBeanServerConnection, getName, getOn, getServer, process, queryON, sample, setOn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private javax.management.ObjectName[] onGRP
private javax.management.ObjectName[] onSessions
private javax.management.ObjectName[] onThreadPool
Constructor Detail |
---|
public WebSampler(java.lang.String urlString)
Sampler.Sampler(String)
Method Detail |
---|
public java.lang.String getDefaultOn()
getDefaultOn
in class Sampler
Sampler.getDefaultOn()
public void init()
init
in class Sampler
protected SampleData newSampleData()
newSampleData
in class Sampler
Sampler.newSampleData()
protected SampleData poll(SampleData data)
poll
in class Sampler
data
- Previous sample.
Sampler.poll(SampleData)
,
pollSessions(WebData)
,
pollGlobalRequestProcessor(WebData)
,
pollThreadPool(WebData)
private void pollSessions(WebData data)
data
- WebData to add polled information to.private void pollGlobalRequestProcessor(WebData data)
data
- WebData to add polled information to.private void pollThreadPool(WebData data)
data
- WebData to add polled information to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |