Class ConnectorStatistics

    • Field Detail

      • _startMillis

        private final java.util.concurrent.atomic.AtomicLong _startMillis
        Deprecated.
      • _connectionDurationStats

        private final SampleStatistic _connectionDurationStats
        Deprecated.
      • _closedIn

        private final java.util.concurrent.atomic.LongAdder _closedIn
        Deprecated.
      • _closedOut

        private final java.util.concurrent.atomic.LongAdder _closedOut
        Deprecated.
      • _nanoStamp

        private java.util.concurrent.atomic.AtomicLong _nanoStamp
        Deprecated.
      • _messagesInPerSecond

        private volatile int _messagesInPerSecond
        Deprecated.
      • _messagesOutPerSecond

        private volatile int _messagesOutPerSecond
        Deprecated.
      • SECOND_NANOS

        private static final long SECOND_NANOS
        Deprecated.
    • Constructor Detail

      • ConnectorStatistics

        public ConnectorStatistics()
        Deprecated.
    • Method Detail

      • getBytesIn

        @ManagedAttribute("Total number of bytes received by this connector")
        public int getBytesIn()
        Deprecated.
      • getBytesOut

        @ManagedAttribute("Total number of bytes sent by this connector")
        public int getBytesOut()
        Deprecated.
      • getConnections

        @ManagedAttribute("Total number of connections seen by this connector")
        public int getConnections()
        Deprecated.
      • getConnectionDurationMax

        @ManagedAttribute("Connection duration maximum in ms")
        public long getConnectionDurationMax()
        Deprecated.
      • getConnectionDurationMean

        @ManagedAttribute("Connection duration mean in ms")
        public double getConnectionDurationMean()
        Deprecated.
      • getConnectionDurationStdDev

        @ManagedAttribute("Connection duration standard deviation")
        public double getConnectionDurationStdDev()
        Deprecated.
      • getMessagesIn

        @ManagedAttribute("Messages In for all connections")
        public int getMessagesIn()
        Deprecated.
      • getMessagesInPerConnectionMax

        @ManagedAttribute("Messages In per connection maximum")
        public int getMessagesInPerConnectionMax()
        Deprecated.
      • getMessagesInPerConnectionMean

        @ManagedAttribute("Messages In per connection mean")
        public double getMessagesInPerConnectionMean()
        Deprecated.
      • getMessagesInPerConnectionStdDev

        @ManagedAttribute("Messages In per connection standard deviation")
        public double getMessagesInPerConnectionStdDev()
        Deprecated.
      • getConnectionsOpen

        @ManagedAttribute("Connections open")
        public int getConnectionsOpen()
        Deprecated.
      • getConnectionsOpenMax

        @ManagedAttribute("Connections open maximum")
        public int getConnectionsOpenMax()
        Deprecated.
      • getMessagesOut

        @ManagedAttribute("Messages Out for all connections")
        public int getMessagesOut()
        Deprecated.
      • getMessagesOutPerConnectionMax

        @ManagedAttribute("Messages In per connection maximum")
        public int getMessagesOutPerConnectionMax()
        Deprecated.
      • getMessagesOutPerConnectionMean

        @ManagedAttribute("Messages In per connection mean")
        public double getMessagesOutPerConnectionMean()
        Deprecated.
      • getMessagesOutPerConnectionStdDev

        @ManagedAttribute("Messages In per connection standard deviation")
        public double getMessagesOutPerConnectionStdDev()
        Deprecated.
      • getStartedMillis

        @ManagedAttribute("Connection statistics started ms since epoch")
        public long getStartedMillis()
        Deprecated.
      • getMessagesInPerSecond

        @ManagedAttribute("Messages in per second calculated over period since last called")
        public int getMessagesInPerSecond()
        Deprecated.
      • getMessagesOutPerSecond

        @ManagedAttribute("Messages out per second calculated over period since last called")
        public int getMessagesOutPerSecond()
        Deprecated.
      • dump

        public void dump​(java.lang.Appendable out,
                         java.lang.String indent)
                  throws java.io.IOException
        Deprecated.
        Description copied from interface: Dumpable
        Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
        Specified by:
        dump in interface Dumpable
        Parameters:
        out - The appendable to dump to
        indent - The indent to apply after any new lines.
        Throws:
        java.io.IOException - if unable to write to Appendable
      • addToAllConnectors

        public static void addToAllConnectors​(Server server)
        Deprecated.
      • update

        private void update()
        Deprecated.