public class NetworkMonitor
extends javax.servlet.http.HttpServlet
Modifier and Type | Class and Description |
---|---|
class |
NetworkMonitor.StatsData |
Constructor and Description |
---|
NetworkMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
end(long start) |
float[] |
getHistoryResponseTime() |
float[] |
getHistoryThroughput() |
static NetworkMonitor |
getInstance(String name) |
static Set<String> |
getInstanceNames() |
float |
getLastHistoryResponseTime() |
float |
getLastHistoryThroughput() |
static boolean |
isCollectStats() |
void |
reset() |
float |
responseTime() |
static void |
setCollectStats(boolean aCollectStats) |
long |
start() |
float |
throughput() |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static boolean isCollectStats()
public static void setCollectStats(boolean aCollectStats)
aCollectStats
- the collectStats to setpublic static NetworkMonitor getInstance(String name)
public long start()
public void end(long start)
public void reset()
public float[] getHistoryResponseTime()
public float[] getHistoryThroughput()
public float responseTime()
public float getLastHistoryResponseTime()
public float throughput()
public float getLastHistoryThroughput()
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.