K
- type of keypublic interface BroadcastKey<K>
Modifier and Type | Method and Description |
---|---|
static <K> BroadcastKey<K> |
broadcastKey(K key)
Returns a given key as a broadcast key.
|
K |
key()
Returns the underlying key
|
@Nonnull 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 © 2017 Hazelcast, Inc.. All Rights Reserved.