public class FunctionStatsImpl extends Object implements FunctionStats
| Modifier and Type | Field and Description |
|---|---|
Double |
avgProcessLatency
Average process latency for function.
|
List<FunctionInstanceStats> |
instances |
Long |
lastInvocation
Timestamp of when the function was last invoked by any instance.
|
FunctionInstanceStatsDataBase |
oneMin |
long |
processedSuccessfullyTotal
Overall total number of records successfully processed by user function.
|
long |
receivedTotal
Overall total number of records function received from source.
|
long |
systemExceptionsTotal
Overall total number of system exceptions thrown.
|
long |
userExceptionsTotal
Overall total number of user exceptions thrown.
|
| Constructor and Description |
|---|
FunctionStatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstance(FunctionInstanceStats functionInstanceStats) |
FunctionStatsImpl |
calculateOverall() |
static FunctionStatsImpl |
decode(String json) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAvgProcessLatency, getInstances, getLastInvocation, getOneMin, getProcessedSuccessfullyTotal, getReceivedTotal, getSystemExceptionsTotal, getUserExceptionsTotal, setAvgProcessLatency, setInstances, setLastInvocation, setOneMin, setProcessedSuccessfullyTotal, setReceivedTotal, setSystemExceptionsTotal, setUserExceptionsTotalpublic long receivedTotal
public long processedSuccessfullyTotal
public long systemExceptionsTotal
public long userExceptionsTotal
public Double avgProcessLatency
public FunctionInstanceStatsDataBase oneMin
public Long lastInvocation
public List<FunctionInstanceStats> instances
public void addInstance(FunctionInstanceStats functionInstanceStats)
addInstance in interface FunctionStatspublic FunctionStatsImpl calculateOverall()
calculateOverall in interface FunctionStatspublic static FunctionStatsImpl decode(String json) throws IOException
IOExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.