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, toString
public 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 Externalizable
writeExternal
in class PlainServiceMonitors
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class PlainServiceMonitors
IOException
ClassNotFoundException
Copyright © GigaSpaces.