java.lang.Object
java.io.OutputStream
de.grogra.util.OutputQueue
de.grogra.util.HierarchicalQueue
de.grogra.persistence.XAQueue
de.grogra.persistence.Transaction
de.grogra.graph.impl.GraphTransaction
- All Implemented Interfaces:
PersistenceOutput,Closeable,DataOutput,Flushable,ObjectOutput,AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classclassNested classes/interfaces inherited from class de.grogra.persistence.Transaction
Transaction.Data, Transaction.ExtendedConsumer, Transaction.KeyNested classes/interfaces inherited from class de.grogra.util.HierarchicalQueue
HierarchicalQueue.Cursor -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class de.grogra.persistence.Transaction
INSERT_BOOLEAN, INSERT_BYTE, INSERT_CHAR, INSERT_DOUBLE, INSERT_FLOAT, INSERT_INT, INSERT_LONG, INSERT_OBJECT, INSERT_SHORT, MAKE_PERSISTENT, MAKE_TRANSIENT, READ_DATA, REDO_TRANSACTION, REMOVE_BOOLEAN, REMOVE_BYTE, REMOVE_CHAR, REMOVE_DOUBLE, REMOVE_FLOAT, REMOVE_INT, REMOVE_LONG, REMOVE_OBJECT, REMOVE_SHORT, SET_BOOLEAN, SET_BYTE, SET_CHAR, SET_DOUBLE, SET_FLOAT, SET_INT, SET_LONG, SET_OBJECT, SET_SHORT, UNDO_TRANSACTIONFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleanvoidlogAddEdgeBits(Node source, Node target, int added, int mask) voidlogRemoveEdgeBits(Node source, Node target, int removed, int mask) booleanReturn true if static (global) fields should be writtenMethods inherited from class de.grogra.persistence.Transaction
begin, beginApply, close, commit, commitAll, createData, endApply, finishSet, finishSet, fireSharedObjectModified, getActiveCount, getId, getKey, getUserId, hasModified, isActive, isApplying, isModified, isNotApplying, logInsertBoolean, logInsertByte, logInsertChar, logInsertDouble, logInsertFloat, logInsertInt, logInsertLong, logInsertObject, logInsertShort, logMakePersistent, logMakeTransient, logReadData, logRedo, logRemoveBoolean, logRemoveByte, logRemoveChar, logRemoveDouble, logRemoveFloat, logRemoveInt, logRemoveLong, logRemoveObject, logRemoveShort, logSetBoolean, logSetByte, logSetChar, logSetDouble, logSetFloat, logSetInt, logSetLong, logSetObject, logSetShort, logUndo, makeActive, markModified, prepareLogSetBoolean, prepareLogSetByte, prepareLogSetChar, prepareLogSetDouble, prepareLogSetFloat, prepareLogSetInt, prepareLogSetLong, prepareLogSetObject, prepareLogSetShort, prepareSetBoolean, prepareSetByte, prepareSetChar, prepareSetDouble, prepareSetFloat, prepareSetInt, prepareSetLong, prepareSetObject, prepareSetShort, redo, restore, rollback, rollbackAll, setModified, setReadOnly, setUserId, undo, unmarkModifiedMethods inherited from class de.grogra.persistence.XAQueue
beginArray, beginField, beginFields, beginManaged, clear, endArray, endField, endFields, endManaged, getPersistenceManager, setNested, writeComponentSeparator, writeLibraryObjectReference, writeName, writeNullObject, writeObject, writePersistentObjectReference, writeSharedObjectReference, writeString, writeStringObjectMethods inherited from class de.grogra.util.HierarchicalQueue
beginLevel, beginSkipBlock, cloneData, discardLevel, endLevel, endSkipBlock, getCursor, getData, hasItems, hasItemsInCurrentLevel, moveTo, setItemSize, writeItem, writeObject, writeObjectInStreamMethods inherited from class de.grogra.util.OutputQueue
dump, flush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeObjectInQueue, writeShort, writeUTFMethods inherited from class java.io.OutputStream
nullOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFMethods inherited from interface java.io.ObjectOutput
flush, write, write, writeMethods inherited from interface de.grogra.persistence.PersistenceOutput
writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeShort
-
Field Details
-
ADD_EDGE_BITS
public static final int ADD_EDGE_BITS- See Also:
-
REMOVE_EDGE_BITS
public static final int REMOVE_EDGE_BITS- See Also:
-
MIN_UNUSED_ITEM
public static final int MIN_UNUSED_ITEM- See Also:
-
-
Constructor Details
-
GraphTransaction
-
-
Method Details
-
isLoggingSuppressed
protected boolean isLoggingSuppressed()- Overrides:
isLoggingSuppressedin classTransaction
-
logAddEdgeBits
-
logRemoveEdgeBits
-
createReader
- Specified by:
createReaderin classTransaction
-
addNodeToChangedExtent
-
writeStatic
public boolean writeStatic()Description copied from interface:PersistenceOutputReturn true if static (global) fields should be written
-