@Generated(value="org.jsonschema2pojo") public class StreamsTaskCounterBroadcast extends Broadcast implements Serializable
Snapshot of a Stream Task Counter
Constructor and Description |
---|
StreamsTaskCounterBroadcast() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Object |
getAvgTime()
Average amount of time an item spent in this Task
|
Object |
getErrorRate()
Rate of failed items
|
Long |
getMaxTime()
Longest amount of time an item spent in this Task
|
String |
getName()
Name of the MBean
|
Long |
getNumEmitted()
Number of items that have been emitted
|
Long |
getNumReceived()
Number of items this Task has received
|
Long |
getNumUnhandledErrors()
Number of unhandled errors
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAvgTime(Object avgTime)
Average amount of time an item spent in this Task
|
void |
setErrorRate(Object errorRate)
Rate of failed items
|
void |
setMaxTime(Long maxTime)
Longest amount of time an item spent in this Task
|
void |
setName(String name)
Name of the MBean
|
void |
setNumEmitted(Long numEmitted)
Number of items that have been emitted
|
void |
setNumReceived(Long numReceived)
Number of items this Task has received
|
void |
setNumUnhandledErrors(Long numUnhandledErrors)
Number of unhandled errors
|
String |
toString() |
StreamsTaskCounterBroadcast |
withAdditionalProperty(String name,
Object value) |
StreamsTaskCounterBroadcast |
withAvgTime(Object avgTime) |
StreamsTaskCounterBroadcast |
withErrorRate(Object errorRate) |
StreamsTaskCounterBroadcast |
withMaxTime(Long maxTime) |
StreamsTaskCounterBroadcast |
withName(String name) |
StreamsTaskCounterBroadcast |
withNumEmitted(Long numEmitted) |
StreamsTaskCounterBroadcast |
withNumReceived(Long numReceived) |
StreamsTaskCounterBroadcast |
withNumUnhandledErrors(Long numUnhandledErrors) |
getStartedAt, getStreamIdentifier, setStartedAt, setStreamIdentifier, withStartedAt, withStreamIdentifier
@BeanProperty(value="errorRate") public Object getErrorRate()
@BeanProperty(value="errorRate") public void setErrorRate(Object errorRate)
errorRate
- The errorRatepublic StreamsTaskCounterBroadcast withErrorRate(Object errorRate)
@BeanProperty(value="numEmitted") public Long getNumEmitted()
@BeanProperty(value="numEmitted") public void setNumEmitted(Long numEmitted)
numEmitted
- The numEmittedpublic StreamsTaskCounterBroadcast withNumEmitted(Long numEmitted)
@BeanProperty(value="numReceived") public Long getNumReceived()
@BeanProperty(value="numReceived") public void setNumReceived(Long numReceived)
numReceived
- The numReceivedpublic StreamsTaskCounterBroadcast withNumReceived(Long numReceived)
@BeanProperty(value="numUnhandledErrors") public Long getNumUnhandledErrors()
@BeanProperty(value="numUnhandledErrors") public void setNumUnhandledErrors(Long numUnhandledErrors)
numUnhandledErrors
- The numUnhandledErrorspublic StreamsTaskCounterBroadcast withNumUnhandledErrors(Long numUnhandledErrors)
@BeanProperty(value="avgTime") public Object getAvgTime()
@BeanProperty(value="avgTime") public void setAvgTime(Object avgTime)
avgTime
- The avgTimepublic StreamsTaskCounterBroadcast withAvgTime(Object avgTime)
@BeanProperty(value="maxTime") public Long getMaxTime()
@BeanProperty(value="maxTime") public void setMaxTime(Long maxTime)
maxTime
- The maxTimepublic StreamsTaskCounterBroadcast withMaxTime(Long maxTime)
@BeanProperty(value="name") public String getName()
@BeanProperty(value="name") public void setName(String name)
public StreamsTaskCounterBroadcast withName(String name)
@BeanProperty(name="*") public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in class Broadcast
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
setAdditionalProperty
in class Broadcast
public StreamsTaskCounterBroadcast withAdditionalProperty(String name, Object value)
withAdditionalProperty
in class Broadcast
Copyright © 2018 The Apache Software Foundation. All rights reserved.