T
- Tuple type.public static class StreamScope.Sample<T>
extends java.lang.Object
The Sample captures the tuple, and the system time and nanoTime when the tuple was captured.
Modifier and Type | Method and Description |
---|---|
long |
nanoTime()
Capture time in nanoTime.
|
long |
timestamp()
Capture time in msec since the epoch.
|
java.lang.String |
toString() |
T |
tuple()
The captured tuple.
|
public long timestamp()
System.currentTimeMillis()
public long nanoTime()
System.nanoTime()
public T tuple()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641