com.alipay.remoting
Class TimerHolder
java.lang.Object
com.alipay.remoting.TimerHolder
public class TimerHolder
- extends Object
A singleton holder of the timer for timeout.
|
Method Summary |
static io.netty.util.Timer |
getTimer()
Get a singleton instance of Timer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getTimer
public static io.netty.util.Timer getTimer()
- Get a singleton instance of
Timer.
The tick duration is defaultTickDuration.
- Returns:
- Timer
Copyright © 2018. All rights reserved.