public class StatementMetric extends MetricEvent
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE
Type information
|
Constructor and Description |
---|
StatementMetric(String runtimeURI,
String deploymentId,
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.
|
String |
getDeploymentId()
Returns the deployment id.
|
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 runtime timestamp.
|
long |
getWallTime()
Returns wall time in nanoseconds.
|
void |
setTimestamp(long timestamp)
Sets runtime timestamp.
|
getRuntimeURI
public static final EPTypeClass EPTYPE
public String getDeploymentId()
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 addCopyright © 2005–2021. All rights reserved.