java.lang.Object
java.io.OutputStream
de.grogra.util.OutputQueue
de.grogra.util.HierarchicalQueue
de.grogra.persistence.XAQueue
- All Implemented Interfaces:
PersistenceOutput
,Closeable
,DataOutput
,Flushable
,ObjectOutput
,AutoCloseable
- Direct Known Subclasses:
ModificationQueue
,Transaction
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.util.HierarchicalQueue
HierarchicalQueue.Cursor
-
Field Summary
Fields inherited from class de.grogra.util.HierarchicalQueue
BEGIN_LEVEL, IS_FINISHED, ITEM_AND_BITS_MASK, ITEM_MASK, MAX_UNUSED_BIT, MIN_UNUSED_BIT, MIN_UNUSED_ITEM, NEXT_EXISTS, out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beginArray
(int length, Type type) void
beginField
(ManageableType.Field field) void
boolean
beginManaged
(ManageableType type, boolean writeType) void
clear()
protected XAQueue.Data
void
endArray()
void
endField
(ManageableType.Field field) void
void
endManaged
(Object object, boolean writeType) final PersistenceManager
void
setNested
(boolean nested) void
void
void
void
writeObject
(Object object, Type type) final void
final void
void
writeString
(String value) void
writeStringObject
(String value) Methods inherited from class de.grogra.util.HierarchicalQueue
beginLevel, beginSkipBlock, cloneData, discardLevel, endLevel, endSkipBlock, getCursor, getData, hasItems, hasItemsInCurrentLevel, moveTo, restore, setItemSize, writeItem, writeObject, writeObjectInStream
Methods inherited from class de.grogra.util.OutputQueue
close, dump, flush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeObjectInQueue, writeShort, writeUTF
Methods inherited from class java.io.OutputStream
nullOutputStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
Methods inherited from interface de.grogra.persistence.PersistenceOutput
writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeShort
-
Field Details
-
manager
-
cache
-
-
Constructor Details
-
XAQueue
-
-
Method Details
-
createData
- Overrides:
createData
in classHierarchicalQueue
-
clear
public void clear()- Overrides:
clear
in classHierarchicalQueue
-
getPersistenceManager
-
writeName
- Specified by:
writeName
in interfacePersistenceOutput
-
writeString
- Specified by:
writeString
in interfacePersistenceOutput
-
writeNullObject
public void writeNullObject()- Specified by:
writeNullObject
in interfacePersistenceOutput
-
writeStringObject
- Specified by:
writeStringObject
in interfacePersistenceOutput
-
writeObject
- Specified by:
writeObject
in interfacePersistenceOutput
- Throws:
IOException
-
writePersistentObjectReference
- Specified by:
writePersistentObjectReference
in interfacePersistenceOutput
-
beginArray
- Specified by:
beginArray
in interfacePersistenceOutput
- Throws:
IOException
-
writeComponentSeparator
public void writeComponentSeparator() -
endArray
public void endArray()- Specified by:
endArray
in interfacePersistenceOutput
-
beginManaged
- Specified by:
beginManaged
in interfacePersistenceOutput
-
beginFields
public void beginFields()- Specified by:
beginFields
in interfacePersistenceOutput
-
beginField
- Specified by:
beginField
in interfacePersistenceOutput
-
endField
- Specified by:
endField
in interfacePersistenceOutput
-
endFields
public void endFields()- Specified by:
endFields
in interfacePersistenceOutput
-
endManaged
- Specified by:
endManaged
in interfacePersistenceOutput
-
setNested
public void setNested(boolean nested) - Specified by:
setNested
in interfacePersistenceOutput
-