public static interface MessageChannel.RawKeyResolutionTable
MessageChannel.RawKeyResolutionTable is used to build a message key
from a given channel key, by providing substitution values for
variable components in the key.
A MessageChannel.RawKeyResolutionTable doesn't produce garbage for
inserts and removes, and contains substitution values that
are XStrings which allow the key to be build without
producing garbage.
MessageChannel.RawKeyResolutionTable is safe for concurrent
read but not for concurrent write or read/write by multiple threads.| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String key)
Tests if the key resolution table contains the provided
substitution key.
|
XString |
get(String key)
Gets a key substitution value.
|
XString |
getProperty(String key)
Gets a key substitution value.
|
XString |
put(String key,
XString value)
Adds a key resolution property.
|
XString |
remove(String key)
Removes a substitution value.
|
XString |
setProperty(String key,
XString value)
Adds a key resolution property.
|
XString put(String key, XString value)
key - The key.value - The value.XString setProperty(String key, XString value)
key - The key.value - The value.XString get(String key)
key - The key to lookup.XString getProperty(String key)
key - The key to lookup.XString remove(String key)
key - The key to removeboolean containsKey(String key)
key - The key to test forCopyright © 2019 Neeve Research, LLC. All Rights Reserved.