org.apache.tomcat.util.net
Class NioEndpoint.KeyFairnessComparator

java.lang.Object
  extended by org.apache.tomcat.util.net.NioEndpoint.KeyFairnessComparator
All Implemented Interfaces:
java.util.Comparator<java.nio.channels.SelectionKey>
Enclosing class:
NioEndpoint

public static class NioEndpoint.KeyFairnessComparator
extends java.lang.Object
implements java.util.Comparator<java.nio.channels.SelectionKey>


Constructor Summary
NioEndpoint.KeyFairnessComparator()
           
 
Method Summary
 int compare(java.nio.channels.SelectionKey ska1, java.nio.channels.SelectionKey ska2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

NioEndpoint.KeyFairnessComparator

public NioEndpoint.KeyFairnessComparator()
Method Detail

compare

public int compare(java.nio.channels.SelectionKey ska1,
                   java.nio.channels.SelectionKey ska2)
Specified by:
compare in interface java.util.Comparator<java.nio.channels.SelectionKey>


Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.