Class ManagedSelector

    • Constructor Detail

      • ManagedSelector

        public ManagedSelector​(SelectorManager selectorManager,
                               int id)
        Deprecated.
    • Method Detail

      • getSelector

        public java.nio.channels.Selector getSelector()
        Deprecated.
      • getAverageSelectedKeys

        @ManagedAttribute(value="Average number of selected keys",
                          readonly=true)
        public double getAverageSelectedKeys()
        Deprecated.
      • size

        public int size()
        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
        Overrides:
        dump in class ContainerLifeCycle
        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