org.ow2.jasmine.monitoring.mbeancmd.sampling
Class ServerSampler
java.lang.Object
org.ow2.jasmine.monitoring.mbeancmd.sampling.Sampler
org.ow2.jasmine.monitoring.mbeancmd.sampling.ServerSampler
public class ServerSampler
- extends Sampler
Sampler for statistics on various parts of the J2EE server. Includes :
- machine cpu, if available
- JVM cpu, if available
- heap committed
- heap used
- number of threads
- pending requests
- current sessions
- database connections
- database busy cnx
- waiters
- dsleaks
- dsfail
- sfb instances
- ssb instances
- ent instances
- committed tx
- served cnx
| Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.Sampler |
getCmdId, getDomain, getJmxUrl, getMBeanServerConnection, getName, getOnPattern, getServer, isHasFailed, queryON, releaseMbeanServerConnection, sample, setHasFailed, setOnPattern |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
J2EEServer_ON_PATTERN
public static final String J2EEServer_ON_PATTERN
- See Also:
- Constant Field Values
JVM_ON_PATTERN
public static final String JVM_ON_PATTERN
- See Also:
- Constant Field Values
GlobalRequestProcessor_ON_PATTERN
public static final String GlobalRequestProcessor_ON_PATTERN
- See Also:
- Constant Field Values
ThreadPool_ON_PATTERN
public static final String ThreadPool_ON_PATTERN
- See Also:
- Constant Field Values
Manager_ON_PATTERN
public static final String Manager_ON_PATTERN
- See Also:
- Constant Field Values
JTAResource_ON_PATTERN
public static final String JTAResource_ON_PATTERN
- See Also:
- Constant Field Values
JDBCDataSource_ON_PATTERN
public static final String JDBCDataSource_ON_PATTERN
- See Also:
- Constant Field Values
EntityBean_ON_PATTERN
public static final String EntityBean_ON_PATTERN
- See Also:
- Constant Field Values
StatelessSessionBean_ON_PATTERN
public static final String StatelessSessionBean_ON_PATTERN
- See Also:
- Constant Field Values
StatefulSessionBean_ON_PATTERN
public static final String StatefulSessionBean_ON_PATTERN
- See Also:
- Constant Field Values
ServerSampler
public ServerSampler(SamplerContext context)
- Implementation of inherited method.
- See Also:
Sampler#Sampler(String)
getDefaultOnPattern
public String getDefaultOnPattern()
- Implementation of inherited abstract method. Returns null since
ServerSampler doesn't have one default object name.
- Specified by:
getDefaultOnPattern in class Sampler
- Returns:
- Default Object name filtering pattern for this sampler. If null,
we'll consider that the Sampler doesn't have one default object
name filter.
- See Also:
Sampler#getDefaultOn()
newSampleData
protected SampleData newSampleData()
- Implementation of inherited abstract method.
- Specified by:
newSampleData in class Sampler
- Returns:
- New sample data.
- See Also:
Sampler.newSampleData()
poll
protected SampleData poll(SampleData data)
- Implementation of inherited abstract method, will call all pollers of
this class.
- Specified by:
poll in class Sampler
- Parameters:
data - Previous sample.
- Returns:
- Resulting data.
- See Also:
Sampler.poll(SampleData),
pollServer(ServerData),
pollJVM(ServerData),
pollSessions(ServerData),
pollThreadPool(ServerData),
pollJTM(ServerData),
pollDataSources(ServerData),
pollGlobalRequestProcessor(ServerData),
pollEntity(ServerData),
pollSSB(ServerData),
pollSFB(ServerData)
Copyright © 2011 OW2 Consortium. All Rights Reserved.