Class SerializerCache


  • public class SerializerCache
    extends java.lang.Object
    • Constructor Detail

      • SerializerCache

        public SerializerCache()
    • 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