Implemented having large scale programs in mind: if you open many concurrent SSH connections that rely on timeouts, then there will be only one timeout thread. Once all timeouts have expired/are cancelled, the thread will (sooner or later) exit. Only after new timeouts arrive a new thread (singleton) will be instantiated. @author Christian Plattner, plattner@inf.ethz.ch @version $Id: TimeoutService.java,v 1.2 2006/07/30 21:59:29 cplattne Exp $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|