Package | Description |
---|---|
com.yahoo.bullet.pubsub |
Modifier and Type | Method and Description |
---|---|
static Metadata.Signal |
Metadata.Signal.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metadata.Signal[] |
Metadata.Signal.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PubSubMessage.hasSignal(Metadata.Signal signal)
Check if message has a given
Metadata.Signal . |
boolean |
Metadata.hasSignal(Metadata.Signal signal)
Check if Metadata has the given signal.
|
Constructor and Description |
---|
Metadata(Metadata.Signal signal,
Serializable object)
Allows you to create an instance with a
Metadata.Signal and a
Serializable object. |
PubSubMessage(String id,
byte[] content,
Metadata.Signal signal)
Constructor for a message having content and a
Metadata.Signal . |
PubSubMessage(String id,
Metadata.Signal signal)
Constructor for a message having only a
Metadata.Signal . |
Copyright © 2021. All rights reserved.