public class FunctionStats extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionStats.FunctionInstanceStats
Function instance statistics.
|
| Modifier and Type | Field and Description |
|---|---|
Double |
avgProcessLatency
Average process latency for function.
|
List<FunctionStats.FunctionInstanceStats> |
instances |
Long |
lastInvocation
Timestamp of when the function was last invoked by any instance.
|
FunctionStats.FunctionInstanceStats.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 |
|---|
FunctionStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstance(FunctionStats.FunctionInstanceStats functionInstanceStats) |
FunctionStats |
calculateOverall() |
static FunctionStats |
decode(String json) |
public long receivedTotal
public long processedSuccessfullyTotal
public long systemExceptionsTotal
public long userExceptionsTotal
public Double avgProcessLatency
public FunctionStats.FunctionInstanceStats.FunctionInstanceStatsDataBase oneMin
public Long lastInvocation
public List<FunctionStats.FunctionInstanceStats> instances
public void addInstance(FunctionStats.FunctionInstanceStats functionInstanceStats)
public FunctionStats calculateOverall()
public static FunctionStats decode(String json) throws IOException
IOExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.