Interface EndpointMXBean


public interface EndpointMXBean
MXBean used to manage and monitor an Endpoint.

An MBean is a managed Java object, similar to a JavaBeans component, that follows the design patterns set forth in the JMX specification. An MBean can represent a device, an application, or any resource that needs to be managed.

A standard MBean is defined by writing a Java interface called SomethingMBean and a Java class called Something that implements that interface. The interface lists the methods for all exposed attributes and operations. The class implements this interface and provides the functionality of the instrumented resource.

An MXBean is a type of MBean that references only a predefined set of data types. MXBeans also provide a convenient way to bundle related values together, without requiring clients to be configured to handle the bundles.

  • Method Details

    • getAddress

      String getAddress()
      Returns the string presensentation of the endpoint address.
      Returns:
      the string presensentation of the endpoint address.
    • getState

      String getState()
      Returns the string presensentation of the endpoint state.
      Returns:
      the string presensentation of the endpoint state.
    • getConnectionCount

      int getConnectionCount()
      Returns the number of successful connections.
      Returns:
      the number of successful connections.
    • getConnectionErrors

      int getConnectionErrors()
      Returns the total number of connection errors.
      Returns:
      the total number of connection errors.
    • getConnectionRejects

      int getConnectionRejects()
      Returns the total number of connection rejects.
      Returns:
      the total number of connection rejects.
    • getPollMessages

      int getPollMessages()
      Returns the total number of poll messages.
      Returns:
      the total number of poll messages.
    • getReaderBytes

      long getReaderBytes()
      Returns the total number of bytes read.
      Returns:
      the total number of bytes read.
    • getReaderErrors

      int getReaderErrors()
      Returns the total number of read errors.
      Returns:
      the total number of read errors.
    • getReaderMessages

      int getReaderMessages()
      Returns the total number of messages read.
      Returns:
      the total number of messages read.
    • getWriterBytes

      long getWriterBytes()
      Returns the total number of bytes written.
      Returns:
      the total number of bytes written.
    • getWriterErrors

      int getWriterErrors()
      Returns the total number of write errors.
      Returns:
      the total number of write errors.
    • getWriterMessages

      int getWriterMessages()
      Returns the total number of messages written.
      Returns:
      the total number of messages written.
    • writeStatistics

      void writeStatistics()
      Write server statistics to log file.