public class WebRequestsServiceMonitors extends PlainServiceMonitors
| Modifier and Type | Class and Description |
|---|---|
static class |
WebRequestsServiceMonitors.Attributes |
details, id, monitors| Constructor and Description |
|---|
WebRequestsServiceMonitors() |
WebRequestsServiceMonitors(String id,
long requests,
long requestsActive,
long requestsDurationTotal) |
| Modifier and Type | Method and Description |
|---|---|
long |
getActive()
Returns the current number of requests that are active.
|
float |
getAverageRequestsLatency()
Returns the average requests latency ( ms )
|
float |
getRequestsThroughput()
Returns the web requests throughput ( requests/second )
|
long |
getTotal()
Returns the total number of requests processed.
|
long |
getTotalDuration()
Returns the total time (in milliseconds) that it took to process requests.
|
void |
readExternal(ObjectInput in) |
void |
setPrevious(WebRequestsServiceMonitors previous,
long timeout) |
void |
writeExternal(ObjectOutput out) |
getDetails, getId, getMonitors, setDetails, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencepublic WebRequestsServiceMonitors()
public WebRequestsServiceMonitors(String id, long requests, long requestsActive, long requestsDurationTotal)
public void setPrevious(WebRequestsServiceMonitors previous, long timeout)
public long getTotal()
public long getActive()
public long getTotalDuration()
public float getRequestsThroughput()
public float getAverageRequestsLatency()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class PlainServiceMonitorsIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class PlainServiceMonitorsIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.