Package org.apache.uima.aae
Class SerializerCache
java.lang.Object
org.apache.uima.aae.SerializerCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UimaSerializer
Returns an instance of a Serializer object.
-
Constructor Details
-
SerializerCache
public SerializerCache()
-
-
Method Details
-
lookupSerializerByThreadId
Returns an instance of a Serializer object. Uses current thread id to look up the Map. If the Map does not contain an entry for current thread, a new Serializer instance is created and added to the Map for future use.- Returns:
- - Serializer instance
-