Package com.arcadedb.server.ha.message
Class TxRequestAbstract
- java.lang.Object
-
- com.arcadedb.server.ha.message.HAAbstractCommand
-
- com.arcadedb.server.ha.message.TxRequestAbstract
-
- All Implemented Interfaces:
HACommand
- Direct Known Subclasses:
TxForwardRequest
,TxRequest
public abstract class TxRequestAbstract extends HAAbstractCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Integer,Integer>
bucketRecordDelta
protected Binary
changesBuffer
protected int
changesUncompressedLength
protected String
databaseName
-
Constructor Summary
Constructors Modifier Constructor Description protected
TxRequestAbstract()
protected
TxRequestAbstract(String dbName, Map<Integer,Integer> bucketRecordDelta, Binary changesBuffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fromStream(ArcadeDBServer server, Binary stream)
protected WALFile.WALTransaction
readTxFromBuffer()
void
toStream(Binary stream)
-
-
-
Method Detail
-
toStream
public void toStream(Binary stream)
- Specified by:
toStream
in interfaceHACommand
- Overrides:
toStream
in classHAAbstractCommand
-
fromStream
public void fromStream(ArcadeDBServer server, Binary stream)
- Specified by:
fromStream
in interfaceHACommand
- Overrides:
fromStream
in classHAAbstractCommand
-
readTxFromBuffer
protected WALFile.WALTransaction readTxFromBuffer()
-
-