IoService service = ... StatCollector collector = new StatCollector( service ); collector.start();By default the {@link StatCollector} is polling the sessions every 5 seconds. You can give a different polling time using a second constructor. @author The Apache Directory Project (mina-dev@directory.apache.org) @version $Rev: 555855 $, $Date: 2007-07-13 12:19:00 +0900 (Fri, 13 Jul 2007) $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|