Message.Type| Modifier and Type | Field and Description |
|---|---|
protected Number |
value |
done, hash, HASH_MULTIPLIER| Modifier | Constructor and Description |
|---|---|
protected |
NumericMessage(Message.Type type) |
protected |
NumericMessage(String aspect,
Message.Type type,
T value,
String[] tags) |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(Message message)
Aggregate message.
|
Number |
getValue()
Get underlying message value.
|
void |
setValue(Number value)
Set underlying message value.
|
protected Number value
protected NumericMessage(Message.Type type)
protected NumericMessage(String aspect, Message.Type type, T value, String[] tags)
public void aggregate(Message message)
public Number getValue()
public void setValue(Number value)
value - the numeric value for the underlying messageCopyright © 2022. All rights reserved.