|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData
org.ow2.jasmine.monitoring.mbeancmd.sampling.ServerData
public class ServerData
Data retrieved from 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
Field Summary | |
---|---|
private double |
cnxRate
Connection rate (calculated). |
private long |
currentTotalMemory
Total memory. |
private long |
currentUsedMemory
Used memory. |
private int |
dsCnxbusy
Busy datasource connections. |
private int |
dsCnxGauge
Datasource connections. |
private int |
dsLeaks
Datasource leaks. |
private int |
dsOpenFailures
Failed datasource connections. |
private int |
dsRejectedOpen
Rejected datasource connections. |
private int |
dsServed
Served datasources. |
private int |
dsWaits
Datasource waits. |
private int |
entCacheNb
Number of entity caches. |
private int |
entPoolNb
Number of entity pools. |
private static java.lang.String |
header
|
private long |
httpErrorCount
HTTP errors. |
private double |
httpRate
HTTP connection rate (calculated). |
private long |
httpRequestCount
HTTP requests. |
private long |
nbSessions
Number of sessions. |
private long |
pendingHttpRequest
Pending HTTP requests. |
private long |
pendingTxGauge
Pending transactions. |
private int |
sfbCacheNb
Number of StatefulSessionBean caches. |
private int |
sfbPoolNb
Number of StatefulSessionBean pools. |
private int |
ssbCacheNb
Number of StatelessSessionBean caches. |
private int |
ssbPoolNb
Number of StatelessSessionBean pools. |
private int |
threadsGauge
Number of threads. |
private long |
txCommitedCount
Commited transactions. |
private double |
txRate
Throughput (calculated). |
private long |
txRollbackCount
Rollbacked transactions. |
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData |
---|
decimalFormat |
Constructor Summary | |
---|---|
ServerData()
|
Method Summary | |
---|---|
void |
compute(SampleData needs_cast)
Implementation of inherited abstract method. |
double |
getCnxRate()
|
long |
getCommitedTx()
|
int |
getDSCnx()
|
int |
getDSCnxBusy()
|
int |
getDSFails()
|
int |
getDSLeaks()
|
int |
getDSRejects()
|
int |
getDSServed()
|
int |
getDSWaits()
|
int |
getEntityCacheNb()
|
int |
getEntityPoolNb()
|
long |
getHttpErrors()
|
double |
getHttpRate()
|
long |
getHttpRequests()
|
protected java.lang.String |
getInnerPrintData()
Implementation of inherited abstract method. |
protected java.lang.String |
getInnerPrintHeader()
Implementation of inherited abstract method. |
long |
getMemory()
|
long |
getPendingHttp()
|
long |
getPendingTx()
|
long |
getRollbackTx()
|
long |
getSessions()
|
int |
getSfbCacheNb()
|
int |
getSfbPoolNb()
|
int |
getSsbCacheNb()
|
int |
getSsbPoolNb()
|
int |
getThreads()
|
double |
getTxRate()
|
long |
getUsedMemory()
|
void |
setCommitedTx(long tx)
|
void |
setDSCnx(int cnx)
|
void |
setDSCnxBusy(int cnx)
|
void |
setDSFails(int cnx)
|
void |
setDSLeaks(int lk)
|
void |
setDSRejects(int rj)
|
void |
setDSServed(int dsServed)
|
void |
setDSWaits(int w)
|
void |
setEntityCacheNb(int nb)
|
void |
setEntityPoolNb(int nb)
|
void |
setHttpErrors(long req)
|
void |
setHttpRequests(long req)
|
void |
setMemory(long mem)
|
void |
setPendingHttp(long req)
|
void |
setPendingTx(long tx)
|
void |
setRollbackTx(long tx)
|
void |
setSessions(long sess)
|
void |
setSfbCacheNb(int nb)
|
void |
setSfbPoolNb(int nb)
|
void |
setSsbCacheNb(int nb)
|
void |
setSsbPoolNb(int nb)
|
void |
setThreads(int th)
|
void |
setUsedMemory(long mem)
|
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData |
---|
getAttribute, getAttributeAsDouble, getAttributeAsInt, getAttributeAsLong, getDomain, getName, getPrintHeader, getSampleTime, getSeparator, getServer, isValid, printData, setAttribute, setObjectName, setSampleTime, setSeparator, setServerInfo, setValid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double httpRate
private double cnxRate
private double txRate
private long currentTotalMemory
private long currentUsedMemory
private int threadsGauge
private long nbSessions
private long pendingHttpRequest
private long httpRequestCount
private long httpErrorCount
private long pendingTxGauge
private long txCommitedCount
private long txRollbackCount
private int dsCnxGauge
private int dsCnxbusy
private int dsOpenFailures
private int dsRejectedOpen
private int dsLeaks
private int dsWaits
private int dsServed
private int entCacheNb
private int entPoolNb
private int ssbCacheNb
private int ssbPoolNb
private int sfbCacheNb
private int sfbPoolNb
private static java.lang.String header
Constructor Detail |
---|
public ServerData()
Method Detail |
---|
public void compute(SampleData needs_cast)
compute
in class SampleData
needs_cast
- Previous measurement.SampleData.compute(SampleData)
protected java.lang.String getInnerPrintHeader()
getInnerPrintHeader
in class SampleData
SampleData.getInnerPrintHeader()
protected java.lang.String getInnerPrintData()
getInnerPrintData
in class SampleData
SampleData.getInnerPrintData()
public double getHttpRate()
public double getCnxRate()
public double getTxRate()
public void setMemory(long mem)
mem
- Total memory.public long getMemory()
public void setUsedMemory(long mem)
mem
- Used memory.public long getUsedMemory()
public void setThreads(int th)
th
- Number of threads.public int getThreads()
public void setSessions(long sess)
sess
- Number of sessions.public long getSessions()
public void setPendingHttp(long req)
req
- Pending HTTP requests.public long getPendingHttp()
public void setHttpRequests(long req)
req
- HTTP requests.public long getHttpRequests()
public void setHttpErrors(long req)
req
- HTTP errors.public long getHttpErrors()
public void setPendingTx(long tx)
tx
- Pending transactions.public long getPendingTx()
public void setCommitedTx(long tx)
tx
- Commited transactions.public long getCommitedTx()
public void setRollbackTx(long tx)
tx
- Rollbacked transactions.public long getRollbackTx()
public void setDSCnx(int cnx)
cnx
- Datasource connections.public int getDSCnx()
public void setDSCnxBusy(int cnx)
cnx
- Busy datasource connections.public int getDSCnxBusy()
public void setDSFails(int cnx)
cnx
- Failed datasource connections.public int getDSFails()
public void setDSRejects(int rj)
rj
- Rejected datasource connections.public int getDSRejects()
public void setDSLeaks(int lk)
lk
- Datasource leaks.public int getDSLeaks()
public void setDSWaits(int w)
w
- Datasource waits.public int getDSWaits()
public int getDSServed()
public void setDSServed(int dsServed)
dsServed
- Served datasources.public void setEntityCacheNb(int nb)
nb
- Number of entity caches.public int getEntityCacheNb()
public void setEntityPoolNb(int nb)
nb
- Number of entity pools.public int getEntityPoolNb()
public void setSsbCacheNb(int nb)
nb
- Number of SSB caches.public int getSsbCacheNb()
public void setSsbPoolNb(int nb)
nb
- Number of SSB pools.public int getSsbPoolNb()
public void setSfbCacheNb(int nb)
nb
- Number of SFB caches.public int getSfbCacheNb()
public void setSfbPoolNb(int nb)
nb
- Number of SFB pools.public int getSfbPoolNb()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |