com.neeve.sma
Interface MessageChannel.RawKeyResolutionTable

Enclosing interface:
MessageChannel

public static interface MessageChannel.RawKeyResolutionTable

A 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 RawStrings which allow the key to be build without producing garbage.

Threading:
A MessageChannel.RawKeyResolutionTable is not safe for concurrent access by multiple threads.

Method Summary
 boolean containsKey(String key)
           
 com.neeve.raw.RawString get(String key)
          Gets a key substitution value.
 com.neeve.raw.RawString getProperty(String key)
          Gets a key substitution value.
 com.neeve.raw.RawString put(String key, com.neeve.raw.RawString value)
          Adds a key resolution property.
 com.neeve.raw.RawString remove(String key)
           
 com.neeve.raw.RawString setProperty(String key, com.neeve.raw.RawString value)
          Adds a key resolution property.
 

Method Detail

put

com.neeve.raw.RawString put(String key,
                            com.neeve.raw.RawString value)
Adds a key resolution property.

Parameters:
key - The key.
value - The value.
Returns:
The previous value if it exists.

setProperty

com.neeve.raw.RawString setProperty(String key,
                                    com.neeve.raw.RawString value)
Adds a key resolution property.

Parameters:
key - The key.
value - The value.
Returns:
The previous value if it exists.

get

com.neeve.raw.RawString get(String key)
Gets a key substitution value.

Parameters:
key - The key to lookup.
Returns:
The raw substitution value.

getProperty

com.neeve.raw.RawString getProperty(String key)
Gets a key substitution value.

Parameters:
key - The key to lookup.
Returns:
The raw substitution value.

remove

com.neeve.raw.RawString remove(String key)

containsKey

boolean containsKey(String key)


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.