Class ExtendedRiverUnmarshaller
java.lang.Object
java.io.InputStream
org.jboss.marshalling.SimpleByteInput
org.jboss.marshalling.ByteInputStream
org.jboss.marshalling.SimpleDataInput
org.jboss.marshalling.AbstractObjectInput
org.jboss.marshalling.AbstractUnmarshaller
org.jboss.marshalling.river.RiverUnmarshaller
org.infinispan.jboss.marshalling.commons.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, unmarshallingFilterFields inherited from class org.jboss.marshalling.SimpleDataInput
buffer, limit, position, totalBytesReadFields inherited from class org.jboss.marshalling.ByteInputStream
byteInput -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExtendedRiverUnmarshaller(org.jboss.marshalling.river.RiverMarshallerFactory factory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration cfg) -
Method Summary
Methods inherited from class org.jboss.marshalling.river.RiverUnmarshaller
clearClassCache, clearInstanceCache, close, discardFields, doReadNewObject, doReadObject, readFields, readString, readUTF, startMethods inherited from class org.jboss.marshalling.AbstractUnmarshaller
filterCheck, setObjectInputStreamFilterMethods inherited from class org.jboss.marshalling.AbstractObjectInput
readObject, readObject, readObjectUnshared, readObjectUnsharedMethods inherited from class org.jboss.marshalling.SimpleDataInput
available, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readIntDirect, readLine, readLong, readLongDirect, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, skip, skipBytesMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.marshalling.ByteInput
available, read, read, read, skipMethods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, skipBytesMethods inherited from interface java.io.ObjectInput
available, read, read, read, readObject, skipMethods inherited from interface org.jboss.marshalling.Unmarshaller
readObject, readObjectUnshared, readObjectUnshared
-
Constructor Details
-
ExtendedRiverUnmarshaller
protected ExtendedRiverUnmarshaller(org.jboss.marshalling.river.RiverMarshallerFactory factory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration cfg)
-
-
Method Details
-
finish
- Specified by:
finishin interfaceorg.jboss.marshalling.Unmarshaller- Overrides:
finishin classorg.jboss.marshalling.river.RiverUnmarshaller- Throws:
IOException
-
getUnreadBufferedCount
public int getUnreadBufferedCount()Returns number unread buffered bytes.
-