Class SerializerCache

java.lang.Object
org.apache.uima.aae.SerializerCache

public class SerializerCache extends Object
  • Constructor Details

    • SerializerCache

      public SerializerCache()
  • Method Details

    • 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