K
- type of keypublic final class BroadcastKey<K> extends Object
Modifier and Type | Method and Description |
---|---|
static <K> BroadcastKey<K> |
broadcastKey(K key)
Returns a given key as a broadcast key.
|
boolean |
equals(Object o) |
int |
hashCode() |
K |
key()
Returns the underlying key
|
String |
toString() |
@Nonnull public static <K> BroadcastKey<K> broadcastKey(@Nonnull K key)
Note: Several processor instances can use the returned BroadcastKey
with the same key
to store unique values and the values will not
overwrite each other. Upon a snapshot restore, each processor
will receive multiple key-value pairs with the given BroadcastKey
Copyright © 2021 Hazelcast, Inc.. All rights reserved.