com.alipay.remoting
Class TimerHolder

java.lang.Object
  extended by 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
 

Method Detail

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.