java.lang.Object
java.io.OutputStream
de.grogra.util.OutputQueue
de.grogra.util.HierarchicalQueue
de.grogra.persistence.XAQueue
de.grogra.persistence.ModificationQueue
- All Implemented Interfaces:
PersistenceOutput
,Closeable
,DataOutput
,Flushable
,ObjectOutput
,AutoCloseable
- Direct Known Subclasses:
PropertyQueue
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.persistence.XAQueue
XAQueue.Data, XAQueue.Reader
Nested classes/interfaces inherited from class de.grogra.util.HierarchicalQueue
HierarchicalQueue.Cursor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final Type
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class de.grogra.util.HierarchicalQueue
BEGIN_LEVEL, IS_FINISHED, ITEM_AND_BITS_MASK, ITEM_MASK, MAX_UNUSED_BIT, MIN_UNUSED_BIT, NEXT_EXISTS, out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addByte
(PersistenceCapable o, PersistenceField field, int[] indices, byte value) void
addChar
(PersistenceCapable o, PersistenceField field, int[] indices, char value) void
addDouble
(PersistenceCapable o, PersistenceField field, int[] indices, double value) void
addFloat
(PersistenceCapable o, PersistenceField field, int[] indices, float value) void
addInt
(PersistenceCapable o, PersistenceField field, int[] indices, int value) void
addLong
(PersistenceCapable o, PersistenceField field, int[] indices, long value) void
addShort
(PersistenceCapable o, PersistenceField field, int[] indices, short value) void
andBoolean
(PersistenceCapable o, PersistenceField field, int[] indices, boolean value) void
andByte
(PersistenceCapable o, PersistenceField field, int[] indices, byte value) void
andChar
(PersistenceCapable o, PersistenceField field, int[] indices, char value) void
andInt
(PersistenceCapable o, PersistenceField field, int[] indices, int value) void
andLong
(PersistenceCapable o, PersistenceField field, int[] indices, long value) void
andShort
(PersistenceCapable o, PersistenceField field, int[] indices, short value) boolean
apply
(Transaction t) boolean
beginManaged
(ManageableType type, boolean writeType) protected ModificationQueue.Applier
void
divByte
(PersistenceCapable o, PersistenceField field, int[] indices, byte value) void
divChar
(PersistenceCapable o, PersistenceField field, int[] indices, char value) void
divDouble
(PersistenceCapable o, PersistenceField field, int[] indices, double value) void
divFloat
(PersistenceCapable o, PersistenceField field, int[] indices, float value) void
divInt
(PersistenceCapable o, PersistenceField field, int[] indices, int value) void
divLong
(PersistenceCapable o, PersistenceField field, int[] indices, long value) void
divShort
(PersistenceCapable o, PersistenceField field, int[] indices, short value) void
makePersistent
(PersistenceCapable pc, long id) void
mulByte
(PersistenceCapable o, PersistenceField field, int[] indices, byte value) void
mulChar
(PersistenceCapable o, PersistenceField field, int[] indices, char value) void
mulDouble
(PersistenceCapable o, PersistenceField field, int[] indices, double value) void
mulFloat
(PersistenceCapable o, PersistenceField field, int[] indices, float value) void
mulInt
(PersistenceCapable o, PersistenceField field, int[] indices, int value) void
mulLong
(PersistenceCapable o, PersistenceField field, int[] indices, long value) void
mulShort
(PersistenceCapable o, PersistenceField field, int[] indices, short value) void
orBoolean
(PersistenceCapable o, PersistenceField field, int[] indices, boolean value) void
orByte
(PersistenceCapable o, PersistenceField field, int[] indices, byte value) void
orChar
(PersistenceCapable o, PersistenceField field, int[] indices, char value) void
orInt
(PersistenceCapable o, PersistenceField field, int[] indices, int value) void
orLong
(PersistenceCapable o, PersistenceField field, int[] indices, long value) void
orShort
(PersistenceCapable o, PersistenceField field, int[] indices, short value) void
setBoolean
(PersistenceCapable o, PersistenceField field, int[] indices, boolean value) void
setByte
(PersistenceCapable o, PersistenceField field, int[] indices, byte value) void
setChar
(PersistenceCapable o, PersistenceField field, int[] indices, char value) void
setDouble
(PersistenceCapable o, PersistenceField field, int[] indices, double value) void
setFloat
(PersistenceCapable o, PersistenceField field, int[] indices, float value) void
setInt
(PersistenceCapable o, PersistenceField field, int[] indices, int value) void
setLong
(PersistenceCapable o, PersistenceField field, int[] indices, long value) void
setObject
(PersistenceCapable o, PersistenceField field, int[] indices, Object value) void
setShort
(PersistenceCapable o, PersistenceField field, int[] indices, short value) void
xorBoolean
(PersistenceCapable o, PersistenceField field, int[] indices, boolean value) void
xorByte
(PersistenceCapable o, PersistenceField field, int[] indices, byte value) void
xorChar
(PersistenceCapable o, PersistenceField field, int[] indices, char value) void
xorInt
(PersistenceCapable o, PersistenceField field, int[] indices, int value) void
xorLong
(PersistenceCapable o, PersistenceField field, int[] indices, long value) void
xorShort
(PersistenceCapable o, PersistenceField field, int[] indices, short value) Methods inherited from class de.grogra.persistence.XAQueue
beginArray, beginField, beginFields, clear, createData, endArray, endField, endFields, endManaged, getPersistenceManager, setNested, writeComponentSeparator, writeName, writeNullObject, writeObject, writePersistentObjectReference, writeSharedObjectReference, writeString, writeStringObject
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
-
TYPE
-
SET_BOOLEAN
public static final int SET_BOOLEAN- See Also:
-
SET_BYTE
public static final int SET_BYTE- See Also:
-
SET_SHORT
public static final int SET_SHORT- See Also:
-
SET_CHAR
public static final int SET_CHAR- See Also:
-
SET_INT
public static final int SET_INT- See Also:
-
SET_LONG
public static final int SET_LONG- See Also:
-
SET_FLOAT
public static final int SET_FLOAT- See Also:
-
SET_DOUBLE
public static final int SET_DOUBLE- See Also:
-
SET_OBJECT
public static final int SET_OBJECT- See Also:
-
ADD_BYTE
public static final int ADD_BYTE- See Also:
-
ADD_SHORT
public static final int ADD_SHORT- See Also:
-
ADD_CHAR
public static final int ADD_CHAR- See Also:
-
ADD_INT
public static final int ADD_INT- See Also:
-
ADD_LONG
public static final int ADD_LONG- See Also:
-
ADD_FLOAT
public static final int ADD_FLOAT- See Also:
-
ADD_DOUBLE
public static final int ADD_DOUBLE- See Also:
-
MUL_BYTE
public static final int MUL_BYTE- See Also:
-
MUL_SHORT
public static final int MUL_SHORT- See Also:
-
MUL_CHAR
public static final int MUL_CHAR- See Also:
-
MUL_INT
public static final int MUL_INT- See Also:
-
MUL_LONG
public static final int MUL_LONG- See Also:
-
MUL_FLOAT
public static final int MUL_FLOAT- See Also:
-
MUL_DOUBLE
public static final int MUL_DOUBLE- See Also:
-
DIV_BYTE
public static final int DIV_BYTE- See Also:
-
DIV_SHORT
public static final int DIV_SHORT- See Also:
-
DIV_CHAR
public static final int DIV_CHAR- See Also:
-
DIV_INT
public static final int DIV_INT- See Also:
-
DIV_LONG
public static final int DIV_LONG- See Also:
-
DIV_FLOAT
public static final int DIV_FLOAT- See Also:
-
DIV_DOUBLE
public static final int DIV_DOUBLE- See Also:
-
OR_BOOLEAN
public static final int OR_BOOLEAN- See Also:
-
OR_BYTE
public static final int OR_BYTE- See Also:
-
OR_SHORT
public static final int OR_SHORT- See Also:
-
OR_CHAR
public static final int OR_CHAR- See Also:
-
OR_INT
public static final int OR_INT- See Also:
-
OR_LONG
public static final int OR_LONG- See Also:
-
AND_BOOLEAN
public static final int AND_BOOLEAN- See Also:
-
AND_BYTE
public static final int AND_BYTE- See Also:
-
AND_SHORT
public static final int AND_SHORT- See Also:
-
AND_CHAR
public static final int AND_CHAR- See Also:
-
AND_INT
public static final int AND_INT- See Also:
-
AND_LONG
public static final int AND_LONG- See Also:
-
XOR_BOOLEAN
public static final int XOR_BOOLEAN- See Also:
-
XOR_BYTE
public static final int XOR_BYTE- See Also:
-
XOR_SHORT
public static final int XOR_SHORT- See Also:
-
XOR_CHAR
public static final int XOR_CHAR- See Also:
-
XOR_INT
public static final int XOR_INT- See Also:
-
XOR_LONG
public static final int XOR_LONG- See Also:
-
MAKE_PERSISTENT
public static final int MAKE_PERSISTENT- See Also:
-
MIN_UNUSED_ITEM
public static final int MIN_UNUSED_ITEM- See Also:
-
-
Constructor Details
-
ModificationQueue
-
-
Method Details
-
beginManaged
- Specified by:
beginManaged
in interfacePersistenceOutput
- Overrides:
beginManaged
in classXAQueue
-
makePersistent
-
setBoolean
-
setByte
-
setShort
-
setChar
-
setInt
-
setLong
-
setFloat
-
setDouble
-
setObject
-
addByte
-
addShort
-
addChar
-
addInt
-
addLong
-
addFloat
-
addDouble
-
mulByte
-
mulShort
-
mulChar
-
mulInt
-
mulLong
-
mulFloat
-
mulDouble
-
divByte
-
divShort
-
divChar
-
divInt
-
divLong
-
divFloat
-
divDouble
-
orBoolean
-
orByte
-
orShort
-
orChar
-
orInt
-
orLong
-
andBoolean
-
andByte
-
andShort
-
andChar
-
andInt
-
andLong
-
xorBoolean
-
xorByte
-
xorShort
-
xorChar
-
xorInt
-
xorLong
-
createApplier
-
apply
- Throws:
IOException
-