@Experimental public static interface EntryView.WriteEntryView<K,V>
Modifier and Type | Method and Description |
---|---|
K |
key()
Key of the write-only entry view.
|
Void |
remove()
Removes the value and any metadata parameters associated with it.
|
Void |
set(V value,
Metadata metadata)
Set this value along with metadata object.
|
Void |
set(V value,
MetaParam.Writable... metas)
Set this value along with optional metadata parameters.
|
K key()
Void set(V value, MetaParam.Writable... metas)
This method returns Void
instead of 'void' to avoid
having to add overloaded methods in functional map that take
Consumer
instead of Function
. This is an
unfortunate side effect of the Java language itself which does
not consider 'void' to be an Object
.
Void remove()
This method returns Void
instead of 'void' to avoid
having to add overloaded methods in functional map that take
Consumer
instead of Function
. This is an
unfortunate side effect of the Java language itself which does
not consider 'void' to be an Object
.
Copyright © 2021 JBoss by Red Hat. All rights reserved.