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 voidaddBooleanProperty(java.lang.String aPropertyKey, boolean value)voidaddIntProperty(java.lang.String aPropertyKey, int value)voidaddLongProperty(java.lang.String aPropertyKey, long value)voidaddObjectProperty(java.lang.String aPropertyKey, java.lang.Object value)voidaddStringCargo(java.lang.String aCargo)voidaddStringProperty(java.lang.String aPropertyKey, java.lang.String value)booleancontainsProperty(java.lang.String propertyKey)booleangetBooleanProperty(java.lang.String aPropertyKey)intgetIntProperty(java.lang.String propertyKey)longgetLongProperty(java.lang.String propertyKey)java.lang.ObjectgetObjectProperty(java.lang.String aPropertyKey)java.lang.StringgetStringCargo()java.lang.StringgetStringProperty(java.lang.String propertyKey)MessageContexttoMessageContext(java.lang.String anEndpointName)java.lang.StringtoString()-
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:
addIntPropertyin interfaceUimaMessage
-
addLongProperty
public void addLongProperty(java.lang.String aPropertyKey, long value)- Specified by:
addLongPropertyin interfaceUimaMessage
-
addStringProperty
public void addStringProperty(java.lang.String aPropertyKey, java.lang.String value)- Specified by:
addStringPropertyin interfaceUimaMessage
-
containsProperty
public boolean containsProperty(java.lang.String propertyKey)
- Specified by:
containsPropertyin interfaceUimaMessage
-
getIntProperty
public int getIntProperty(java.lang.String propertyKey)
- Specified by:
getIntPropertyin interfaceUimaMessage
-
getStringProperty
public java.lang.String getStringProperty(java.lang.String propertyKey)
- Specified by:
getStringPropertyin interfaceUimaMessage
-
addStringCargo
public void addStringCargo(java.lang.String aCargo)
- Specified by:
addStringCargoin interfaceUimaMessage
-
getStringCargo
public java.lang.String getStringCargo()
- Specified by:
getStringCargoin interfaceUimaMessage
-
toMessageContext
public MessageContext toMessageContext(java.lang.String anEndpointName) throws AsynchAEException
- Specified by:
toMessageContextin interfaceUimaMessage- Throws:
AsynchAEException
-
getLongProperty
public long getLongProperty(java.lang.String propertyKey)
- Specified by:
getLongPropertyin interfaceUimaMessage
-
addBooleanProperty
public void addBooleanProperty(java.lang.String aPropertyKey, boolean value)- Specified by:
addBooleanPropertyin interfaceUimaMessage
-
getBooleanProperty
public boolean getBooleanProperty(java.lang.String aPropertyKey)
- Specified by:
getBooleanPropertyin interfaceUimaMessage
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Object>
-
addObjectProperty
public void addObjectProperty(java.lang.String aPropertyKey, java.lang.Object value)- Specified by:
addObjectPropertyin interfaceUimaMessage
-
getObjectProperty
public java.lang.Object getObjectProperty(java.lang.String aPropertyKey)
- Specified by:
getObjectPropertyin interfaceUimaMessage
-
-