Example usage for io.netty.util TimerTask interface-usage

List of usage examples for io.netty.util TimerTask interface-usage

Introduction

In this page you can find the example usage for io.netty.util TimerTask interface-usage.

Usage

From source file com.baidu.jprotobuf.pbrpc.transport.RpcTimerTask.java

/**
 * Time task to process each request timeout event
 * 
 * @author xiemalin
 * @since 1.0
 */

From source file com.ibasco.agql.core.ReadRequestTimeoutTimerTask.java

public class ReadRequestTimeoutTimerTask implements TimerTask {
    private static final Logger log = LoggerFactory.getLogger(ReadRequestTimeoutTimerTask.class);
    private SessionId id;
    private SessionManager sessionManager;

    public ReadRequestTimeoutTimerTask(SessionId sessionId, SessionManager sessionManager) {

From source file com.king.platform.net.http.netty.TimeoutTimerTask.java

public interface TimeoutTimerTask extends TimerTask {
    void completed();

    void cancel();

}

From source file com.mpush.netty.http.RequestContext.java

public class RequestContext implements TimerTask, HttpCallback {
    private static final int TIMEOUT = CC.mp.http.default_read_timeout;
    private final long startTime = System.currentTimeMillis();
    final AtomicBoolean cancelled = new AtomicBoolean(false);
    final int readTimeout;
    private long endTime = startTime;

From source file com.nettyhttpserver.server.util.ResponseTimerTask.java

/**
 *
 * @author McKey
 */
public class ResponseTimerTask implements TimerTask {
    private ChannelHandlerContext ctx;

From source file com.wq.wqchat.netty.http.RequestContext.java

public class RequestContext implements TimerTask, HttpCallback {
    private static final int TIMEOUT = CC.mp.http.default_read_timeout;
    private final long startTime = System.currentTimeMillis();
    final AtomicBoolean cancelled = new AtomicBoolean(false);
    final int readTimeout;
    private long endTime = startTime;

From source file com.yahoo.pulsar.client.impl.ProducerImpl.java

public class ProducerImpl extends ProducerBase implements TimerTask {

    // Producer id, used to identify a producer within a single connection
    private final long producerId;

    // Variable is used through the atomic updater

From source file me.schiz.jmeter.ring.tcp.TimeoutTask.java

public class TimeoutTask implements TimerTask {
    private static final Logger log = LoggingManager.getLoggerForClass();
    private Ring ring;
    private int id;
    private String reason;

From source file me.schiz.jmeter.ring.udp.TimeoutTask.java

public class TimeoutTask implements TimerTask {
    private static final Logger log = LoggingManager.getLoggerForClass();
    private Ring ring;
    private int id;
    private String reason;

From source file net.hasor.registry.client.RegistryClientManager.java

/**
 * RSF??
 * @version : 2016218
 * @author (zyc@hasor.net)
 */
class RegistryClientManager implements TimerTask {