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 org.apache.pulsar.client.impl.PatternMultiTopicsConsumerImpl.java

public class PatternMultiTopicsConsumerImpl<T> extends MultiTopicsConsumerImpl<T> implements TimerTask {
    private final Pattern topicsPattern;
    private final TopicsChangedListener topicsChangeListener;
    private final Mode subscriptionMode;
    private volatile Timeout recheckPatternTimeout = null;

From source file org.apache.pulsar.client.impl.PatternTopicsConsumerImpl.java

public class PatternTopicsConsumerImpl<T> extends TopicsConsumerImpl<T> implements TimerTask {
    private final Pattern topicsPattern;
    private final TopicsChangedListener topicsChangeListener;
    private volatile Timeout recheckPatternTimeout = null;

    public PatternTopicsConsumerImpl(Pattern topicsPattern, PulsarClientImpl client,

From source file org.apache.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 org.asynchttpclient.netty.timeout.TimeoutTimerTask.java

public abstract class TimeoutTimerTask implements TimerTask {

    private static final Logger LOGGER = LoggerFactory.getLogger(TimeoutTimerTask.class);

    protected final AtomicBoolean done = new AtomicBoolean();
    protected volatile NettyResponseFuture<?> nettyResponseFuture;

From source file org.asynchttpclient.providers.netty.request.timeout.TimeoutTimerTask.java

public abstract class TimeoutTimerTask implements TimerTask {

    private static final Logger LOGGER = LoggerFactory.getLogger(TimeoutTimerTask.class);

    protected final NettyResponseFuture<?> nettyResponseFuture;
    protected final Channels channels;

From source file org.asynchttpclient.providers.netty4.request.timeout.TimeoutTimerTask.java

public abstract class TimeoutTimerTask implements TimerTask {

    private static final Logger LOGGER = LoggerFactory.getLogger(TimeoutTimerTask.class);

    protected final AtomicBoolean done = new AtomicBoolean();
    protected volatile NettyResponseFuture<?> nettyResponseFuture;

From source file org.jupiter.transport.netty.handler.connector.ConnectionWatchdog.java

/**
 * Connections watchdog.
 *
 * jupiter
 * org.jupiter.transport.netty.handler.connector
 *

From source file org.onosproject.provider.lldpcommon.LinkDiscovery.java

/**
 * Run discovery process from a physical switch. Ports are initially labeled as
 * slow ports. When an LLDP is successfully received, label the remote port as
 * fast. Every probeRate milliseconds, loop over all fast ports and send an
 * LLDP, send an LLDP for a single slow port. Based on FlowVisor topology
 * discovery implementation.

From source file org.onosproject.provider.of.group.impl.GroupStatsCollector.java

public class GroupStatsCollector implements TimerTask {

    private final OpenFlowSwitch sw;
    private final Logger log = getLogger(getClass());
    private int refreshInterval;

From source file org.onosproject.provider.of.meter.impl.MeterStatsCollector.java

public class MeterStatsCollector implements TimerTask {

    private final OpenFlowSwitch sw;
    private final Logger log = getLogger(getClass());
    private final int refreshInterval;