public class SystemTime extends Object implements kafka.utils.Time
Constructor and Description |
---|
SystemTime() |
Modifier and Type | Method and Description |
---|---|
long |
hiResClockMs() |
long |
milliseconds() |
long |
nanoseconds() |
void |
sleep(long ms) |
public long milliseconds()
milliseconds
in interface org.apache.kafka.common.utils.Time
public long nanoseconds()
nanoseconds
in interface org.apache.kafka.common.utils.Time
public void sleep(long ms)
sleep
in interface org.apache.kafka.common.utils.Time
public long hiResClockMs()
Copyright © 2017. All rights reserved.