Package org.apache.uima.aae
Class SerializerCache
- java.lang.Object
-
- org.apache.uima.aae.SerializerCache
-
public class SerializerCache extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SerializerCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UimaSerializer
lookupSerializerByThreadId()
Returns an instance of a Serializer object.
-
-
-
Method Detail
-
lookupSerializerByThreadId
public static UimaSerializer 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
-
-