Example usage for com.google.common.base Ticker subclass-usage

List of usage examples for com.google.common.base Ticker subclass-usage

Introduction

In this page you can find the example usage for com.google.common.base Ticker subclass-usage.

Usage

From source file com.yahoo.yqlplus.engine.internal.java.runtime.RelativeTicker.java

public final class RelativeTicker extends Ticker {
    private final long start;
    private final Ticker base;

    public RelativeTicker(Ticker base) {
        this.base = base;

From source file com.seleritycorp.common.base.time.ClockImpl.java

@Singleton
public class ClockImpl extends Ticker implements Clock {
    long nanoOffsetEpoch;

    public ClockImpl() {
        nanoOffsetEpoch = getMillisEpoch() * 1000000L - System.nanoTime();

From source file at.ac.univie.isc.asio.platform.CurrentTime.java

/**
 * {@code Ticker} that reads the system wall time with up to millisecond precision.
 *
 * @see System#currentTimeMillis()
 */
public final class CurrentTime extends Ticker {

From source file com.google.api.control.aggregator.FakeTicker.java

public class FakeTicker extends Ticker {
    private final AtomicLong nanos = new AtomicLong();
    private boolean autoTick;

    public FakeTicker() {
        this(false);

From source file com.seleritycorp.common.base.test.SettableStaticClock.java

public class SettableStaticClock extends Ticker implements Clock {
    long nanos;

    public SettableStaticClock() {
        reset();
    }

From source file org.apache.aurora.common.util.testing.FakeTicker.java

/**
 * A ticker for use in testing with a configurable value for {@link #Ticker#read()}.
 */
public class FakeTicker extends Ticker {
    private long nowNanos;

From source file ec.tstoolkit.utilities.ThreadTicker.java

/**
 *
 * @author Philippe Charles
 */
public final class ThreadTicker extends Ticker {

From source file org.jage.platform.time.ManualTicker.java

/**
 * A ticker that can be manually moved in time.
 * 
 * @author AGH AgE Team
 */
public class ManualTicker extends Ticker {