|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SocketStatisticsMXBean
MBean Interface to SocketStatistics. This MBean provides the possibility to monitor open / closed socket connections and their properties.
| Method Summary | |
|---|---|
void |
deleteStatistics()
Delete all gathered statistics. |
void |
exportStatisticsCSV(String filepath)
Generate a csv of all gathered statistics and save it on the passed path/filename. |
long |
getClosedSocketsCount()
Get number of already closed sockets. |
Set<ConnectionStatistics> |
getConnectionStatistics()
Get a Set of all present ConnectionStatics for open and already closed sockets. |
int |
getKeepStats()
Getter for the keepStats property which defines how many seconds stats of closed sockets are kept. |
long |
getOpenSocketsCount()
Get number of open sockets. |
void |
setKeepStats(int ks)
Setter for the keepStats property which defines how many seconds stats of closed sockets are kept. |
| Method Detail |
|---|
long getClosedSocketsCount()
long getOpenSocketsCount()
Set<ConnectionStatistics> getConnectionStatistics()
int getKeepStats()
void setKeepStats(int ks)
ks - how many seconds closed sockets will be kept in statisticsvoid exportStatisticsCSV(String filepath)
filepath - path and filename of the csv outputvoid deleteStatistics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||