public class OpContext extends Object implements CycleResult
| Modifier and Type | Class and Description |
|---|---|
static interface |
OpContext.Sink |
| Constructor and Description |
|---|
OpContext(OpContext.Sink sink,
long cycle,
long delayNanos) |
OpContext(OpContext.Sink sink,
long cycle,
long delayNanos,
long staredAtNanos) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCycle() |
int |
getResult() |
long |
getServiceTime() |
long |
getTotalLatency() |
void |
setResult(int result) |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTopublic OpContext(OpContext.Sink sink, long cycle, long delayNanos, long staredAtNanos)
public OpContext(OpContext.Sink sink, long cycle, long delayNanos)
public void setResult(int result)
public void stop()
public long getServiceTime()
public long getTotalLatency()
public int getResult()
getResult in interface ResultReadablepublic long getCycle()
getCycle in interface CycleReadableCopyright © 2018. All rights reserved.