T
- the associated attached instancepublic class LoadControlItem<T> extends Object
You can associate a so called message id (storm terminology), and get it back as well so as to proceed with the tuple acknowledgement or failure logic. That message id is a pojo. It must not be serializable, it is kept until in memory locally to the emitter process.
Constructor and Description |
---|
LoadControlItem(T messageId)
Create a new
LoadControlItem . |
Modifier and Type | Method and Description |
---|---|
long |
getElapsedTime() |
T |
getMessageId() |
public LoadControlItem(T messageId)
LoadControlItem
.messageId
- an associated message id. This is storm terminology, it can be any pojo you need.public T getMessageId()
public long getElapsedTime()
Copyright © 2022. All rights reserved.