Package wt.socket

Interface WrappedSocketMonitorMBean

All Superinterfaces:
SelfEmailingMBean

public interface WrappedSocketMonitorMBean extends SelfEmailingMBean
Monitors I/O on wrapped sockets (only)

Supported API: true

Extendable: true
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Type of notification produced when wrapped socket cache overflows and the oldest socket is automatically closed

    Supported API: true
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Number of bytes read from wrapped sockets

    Supported API: true
    long
    Number of bytes written to wrapped sockets

    Supported API: true
    int
    Maximum number of wrapped sockets

    Supported API: true
    int
    Current number of wrapped sockets

    Supported API: true
    long
    Count of socket cache overflows

    Supported API: true
    double
    Number of bytes read from wrapped sockets per second during "recent" interval

    Supported API: true
    double
    Number of bytes written to wrapped sockets per second during "recent" interval

    Supported API: true
    int
    Number of seconds in "recent" sampling interval

    Supported API: true
    void
    setRecentIntervalSeconds(int recentIntervalSeconds)
    Number of seconds in "recent" sampling interval

    Supported API: true

    Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean

    emailThisMBean
  • Field Details

    • WRAPPED_SOCKET_OVERFLOW_NOTIF_TYPE

      static final String 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