Class UimaVmMessage
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object>
-
- org.apache.uima.aae.spi.transport.vm.UimaVmMessage
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Object>
,java.util.Map<java.lang.String,java.lang.Object>
,UimaMessage
public class UimaVmMessage extends java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object> implements UimaMessage
Wrapper for the Uima message. This wrapper is used for internal messaging between collocated Uima AS service.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
java.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,V extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description UimaVmMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBooleanProperty(java.lang.String aPropertyKey, boolean value)
void
addIntProperty(java.lang.String aPropertyKey, int value)
void
addLongProperty(java.lang.String aPropertyKey, long value)
void
addObjectProperty(java.lang.String aPropertyKey, java.lang.Object value)
void
addStringCargo(java.lang.String aCargo)
void
addStringProperty(java.lang.String aPropertyKey, java.lang.String value)
boolean
containsProperty(java.lang.String propertyKey)
boolean
getBooleanProperty(java.lang.String aPropertyKey)
int
getIntProperty(java.lang.String propertyKey)
long
getLongProperty(java.lang.String propertyKey)
java.lang.Object
getObjectProperty(java.lang.String aPropertyKey)
java.lang.String
getStringCargo()
java.lang.String
getStringProperty(java.lang.String propertyKey)
MessageContext
toMessageContext(java.lang.String anEndpointName)
java.lang.String
toString()
-
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, values
-
-
-
-
Method Detail
-
addIntProperty
public void addIntProperty(java.lang.String aPropertyKey, int value)
- Specified by:
addIntProperty
in interfaceUimaMessage
-
addLongProperty
public void addLongProperty(java.lang.String aPropertyKey, long value)
- Specified by:
addLongProperty
in interfaceUimaMessage
-
addStringProperty
public void addStringProperty(java.lang.String aPropertyKey, java.lang.String value)
- Specified by:
addStringProperty
in interfaceUimaMessage
-
containsProperty
public boolean containsProperty(java.lang.String propertyKey)
- Specified by:
containsProperty
in interfaceUimaMessage
-
getIntProperty
public int getIntProperty(java.lang.String propertyKey)
- Specified by:
getIntProperty
in interfaceUimaMessage
-
getStringProperty
public java.lang.String getStringProperty(java.lang.String propertyKey)
- Specified by:
getStringProperty
in interfaceUimaMessage
-
addStringCargo
public void addStringCargo(java.lang.String aCargo)
- Specified by:
addStringCargo
in interfaceUimaMessage
-
getStringCargo
public java.lang.String getStringCargo()
- Specified by:
getStringCargo
in interfaceUimaMessage
-
toMessageContext
public MessageContext toMessageContext(java.lang.String anEndpointName) throws AsynchAEException
- Specified by:
toMessageContext
in interfaceUimaMessage
- Throws:
AsynchAEException
-
getLongProperty
public long getLongProperty(java.lang.String propertyKey)
- Specified by:
getLongProperty
in interfaceUimaMessage
-
addBooleanProperty
public void addBooleanProperty(java.lang.String aPropertyKey, boolean value)
- Specified by:
addBooleanProperty
in interfaceUimaMessage
-
getBooleanProperty
public boolean getBooleanProperty(java.lang.String aPropertyKey)
- Specified by:
getBooleanProperty
in interfaceUimaMessage
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object>
-
addObjectProperty
public void addObjectProperty(java.lang.String aPropertyKey, java.lang.Object value)
- Specified by:
addObjectProperty
in interfaceUimaMessage
-
getObjectProperty
public java.lang.Object getObjectProperty(java.lang.String aPropertyKey)
- Specified by:
getObjectProperty
in interfaceUimaMessage
-
-