java.lang.Object
java.io.InputStream
de.grogra.util.HierarchicalQueue.Reader
de.grogra.persistence.XAQueue.Reader
- All Implemented Interfaces:
PersistenceInput,Closeable,DataInput,ObjectInput,AutoCloseable
- Direct Known Subclasses:
ModificationQueue.Applier,Transaction.Reader
- Enclosing class:
XAQueue
-
Field Summary
Fields inherited from class de.grogra.util.HierarchicalQueue.Reader
inFields inherited from interface de.grogra.persistence.PersistenceInput
ARRAY_OBJECT, MANAGEABLE_OBJECT, MIN_UNUSED_KIND, NULL_OBJECT, PERSISTENT_OBJECT_ID, PLAIN_OBJECT, SERIALIZED_OBJECT, SHARED_OBJECT_REFERENCE, STRING_OBJECT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintbooleanbeginComponent(ManageableType.ArrayComponent c, int index) beginField(ManageableType type, ManageableType.Field field) voidclose()voidendArray()voidvoidendField()voidfinal PersistenceBindingsintgetQueue()voidopen()charpeek()readName()readObject(int kind, Type type) final PersistenceCapablefinal longfinal ShareableresolveId(long inputId) voidsetNested(boolean nested) Methods inherited from class de.grogra.util.HierarchicalQueue.Reader
available, enter, isAt, leave, moveTo, moveToCurrent, next, peekByte, peekChar, peekDouble, peekFloat, peekInt, peekLong, peekObject, popCursor, previous, pushCursor, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readItem, readLine, readLong, readObject, readObjectInQueue, readObjectInStream, readShort, readSkipBlock, readUnsignedByte, readUnsignedShort, readUTF, resetCursor, skip, skipBlock, skipBoolean, skipByte, skipBytes, skipChar, skipDouble, skipFloat, skipInt, skipLong, skipObjectInQueue, skipShort, skipUTFMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.grogra.persistence.PersistenceInput
readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, readUnsignedByte, readUnsignedShort
-
Constructor Details
-
Reader
protected Reader()
-
-
Method Details
-
getBindings
- Specified by:
getBindingsin interfacePersistenceInput
-
open
public void open() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceObjectInput- Overrides:
closein classHierarchicalQueue.Reader
-
getQueue
-
readName
- Specified by:
readNamein interfacePersistenceInput- Throws:
UTFDataFormatException
-
readString
- Specified by:
readStringin interfacePersistenceInput- Throws:
UTFDataFormatException
-
getNextObjectKind
public int getNextObjectKind()- Specified by:
getNextObjectKindin interfacePersistenceInput
-
readObject
- Specified by:
readObjectin interfacePersistenceInput- Throws:
IOException
-
readPersistentObjectId
- Specified by:
readPersistentObjectIdin interfacePersistenceInput- Throws:
IOException
-
readPersistentObject
- Specified by:
readPersistentObjectin interfacePersistenceInput- Throws:
IOException
-
beginArray
- Specified by:
beginArrayin interfacePersistenceInput- Throws:
IOException
-
beginComponent
- Specified by:
beginComponentin interfacePersistenceInput
-
endComponent
public void endComponent()- Specified by:
endComponentin interfacePersistenceInput
-
endArray
public void endArray()- Specified by:
endArrayin interfacePersistenceInput
-
beginManaged
- Specified by:
beginManagedin interfacePersistenceInput- Throws:
IOException
-
areFieldsProvided
public boolean areFieldsProvided()- Specified by:
areFieldsProvidedin interfacePersistenceInput
-
beginField
- Specified by:
beginFieldin interfacePersistenceInput
-
endField
public void endField()- Specified by:
endFieldin interfacePersistenceInput
-
endManaged
public void endManaged()- Specified by:
endManagedin interfacePersistenceInput
-
setNested
public void setNested(boolean nested) - Specified by:
setNestedin interfacePersistenceInput
-
resolveId
- Specified by:
resolveIdin interfacePersistenceInput
-
peek
- Specified by:
peekin interfacePersistenceInput- Throws:
IOException
-