public class StatementMetric extends MetricEvent
Constructor and Description |
---|
StatementMetric(String engineURI,
String statementName)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addCPUTime(long delta)
Adds CPU time.
|
void |
addNumInput(long numInputAdd)
Adds number of input events.
|
void |
addNumOutputIStream(int numIStream)
Adds number of output rows in insert stream.
|
void |
addNumOutputRStream(int numRStream)
Adds number of output rows in remove stream.
|
void |
addWallTime(long wall)
Adds wall time.
|
long |
getCpuTime()
Returns CPU time in nanoseconds.
|
long |
getNumInput()
Returns the number of input events.
|
long |
getNumOutputIStream()
Returns number of output rows in insert stream.
|
long |
getNumOutputRStream()
Returns number of output rows in remove stream.
|
String |
getStatementName()
Returns statement name.
|
long |
getTimestamp()
Returns engine timestamp.
|
long |
getWallTime()
Returns wall time in nanoseconds.
|
void |
setTimestamp(long timestamp)
Sets engine timestamp.
|
getEngineURI
public String getStatementName()
public long getCpuTime()
public void setTimestamp(long timestamp)
timestamp
- to setpublic long getTimestamp()
public void addCPUTime(long delta)
delta
- to addpublic void addWallTime(long wall)
wall
- to addpublic long getWallTime()
public long getNumOutputRStream()
public long getNumOutputIStream()
public void addNumOutputIStream(int numIStream)
numIStream
- to addpublic void addNumOutputRStream(int numRStream)
numRStream
- to addpublic long getNumInput()
public void addNumInput(long numInputAdd)
numInputAdd
- to add