Class ExtendedRiverUnmarshaller

  • All Implemented Interfaces:
    Closeable, DataInput, ObjectInput, AutoCloseable, org.jboss.marshalling.ByteInput, org.jboss.marshalling.Unmarshaller

    public class ExtendedRiverUnmarshaller
    extends org.jboss.marshalling.river.RiverUnmarshaller
    An extended RiverUnmarshaller that allows to track lifecycle of unmarshaller so that pools can be notified when not in use any more.
    Since:
    5.1
    Author:
    Galder ZamarreƱo
    • Field Summary

      • Fields inherited from class org.jboss.marshalling.AbstractUnmarshaller

        classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, objectPreResolver, objectResolver, objectTable, serializabilityChecker, streamHeader
      • Fields inherited from class org.jboss.marshalling.SimpleDataInput

        buffer, limit, position
      • Fields inherited from class org.jboss.marshalling.ByteInputStream

        byteInput
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ExtendedRiverUnmarshaller​(org.jboss.marshalling.river.RiverMarshallerFactory factory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration cfg)  
    • Constructor Detail

      • ExtendedRiverUnmarshaller

        protected ExtendedRiverUnmarshaller​(org.jboss.marshalling.river.RiverMarshallerFactory factory,
                                            org.jboss.marshalling.reflect.SerializableClassRegistry registry,
                                            org.jboss.marshalling.MarshallingConfiguration cfg)
    • Method Detail

      • finish

        public void finish()
                    throws IOException
        Specified by:
        finish in interface org.jboss.marshalling.Unmarshaller
        Overrides:
        finish in class org.jboss.marshalling.river.RiverUnmarshaller
        Throws:
        IOException
      • getUnreadBufferedCount

        public int getUnreadBufferedCount()
        Returns number unread buffered bytes.