Constructor and Description |
---|
SuspendedConsumerLoggingTicker(long repeatPeriod) |
Modifier and Type | Method and Description |
---|---|
int |
getTimeToNextTick(long currentTime) |
protected abstract void |
log(long period) |
void |
setStartTime(long currentTime) |
int |
tick(long currentTime) |
public SuspendedConsumerLoggingTicker(long repeatPeriod)
public void setStartTime(long currentTime)
public int getTimeToNextTick(long currentTime)
getTimeToNextTick
in interface Ticker
protected abstract void log(long period)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.