Package wt.socket
Interface WrappedSocketMonitorMBean
- All Superinterfaces:
SelfEmailingMBean
Monitors I/O on wrapped sockets (only)
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringType of notification produced when wrapped socket cache overflows and the oldest socket is automatically closed
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionlongNumber of bytes read from wrapped sockets
Supported API: truelongNumber of bytes written to wrapped sockets
Supported API: trueintMaximum number of wrapped sockets
Supported API: trueintCurrent number of wrapped sockets
Supported API: truelongCount of socket cache overflows
Supported API: truedoubleNumber of bytes read from wrapped sockets per second during "recent" interval
Supported API: truedoubleNumber of bytes written to wrapped sockets per second during "recent" interval
Supported API: trueintNumber of seconds in "recent" sampling interval
Supported API: truevoidsetRecentIntervalSeconds(int recentIntervalSeconds) Number of seconds in "recent" sampling interval
Supported API: trueMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Field Details
-
WRAPPED_SOCKET_OVERFLOW_NOTIF_TYPE
Type of notification produced when wrapped socket cache overflows and the oldest socket is automatically closed
Supported API: true
-
-
Method Details
-
getNumSockets
int getNumSockets()Current number of wrapped sockets
Supported API: true -
getMaxSockets
int getMaxSockets()Maximum number of wrapped sockets
Supported API: true -
getBytesIn
long getBytesIn()Number of bytes read from wrapped sockets
Supported API: true -
getBytesOut
long getBytesOut()Number of bytes written to wrapped sockets
Supported API: true -
getOverflowCount
long getOverflowCount()Count of socket cache overflows
Supported API: true -
getRecentBytesInPerSecond
double getRecentBytesInPerSecond()Number of bytes read from wrapped sockets per second during "recent" interval
Supported API: true -
getRecentBytesOutPerSecond
double getRecentBytesOutPerSecond()Number of bytes written to wrapped sockets per second during "recent" interval
Supported API: true -
getRecentIntervalSeconds
int getRecentIntervalSeconds()Number of seconds in "recent" sampling interval
Supported API: true -
setRecentIntervalSeconds
void setRecentIntervalSeconds(int recentIntervalSeconds) Number of seconds in "recent" sampling interval
Supported API: true
-