Package 

Interface TypeWriter

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    
    public interface TypeWriter<T extends Object>
     implements AutoCloseable
                        

    TypeWriters manage the process of extracting meaningful data from objects of their respective type. Type writers should ideally have all the information needed to serialize the data available. e.g. the user shouldn't have to call out to the type analyzer itself to get a list's element serializer, that should be present in the type writer.

    • Method Summary

      Modifier and Type Method Description
      Unit load(T value) Load a value in preparation for serialization
      abstract Unit release() Clears the writer's state and returns it to the TypeAnalyzer's pool
      Unit close()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait