Loggable
| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected GlobalTransactionId |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | doMe(Transaction
the Transaction xact, LogInstant the log instant of this operation instant, LimitObjectInput optional data in)Implements org. Apply the change indicated by this operation and optional data. |
| public GlobalTransactionId | |
| public ByteArray | getPreparedLog()
Implements org. the default for prepared log is always null for all the operations that don't have optionalData. |
| public int | getTypeFormatId()
Implements org. Return my format identifier. |
| public int | group()
Implements org. BeginXact is both a FIRST and a RAWSTORE log record |
| public boolean | Returns: true if operation needs redoing, false if not.The transaction trying to redo this operation xact)Implements org. Always redo a BeginXact. |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
| public void | releaseResource(Transaction xact)
Implements org. BeginXact has no resource to release |
| public String | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
| transactionStatus | back to summary |
|---|---|
| protected int transactionStatus | |
| xactId | back to summary |
|---|---|
| protected GlobalTransactionId xactId | |
| BeginXact | back to summary |
|---|---|
| public BeginXact(GlobalTransactionId xid, int s) | |
| BeginXact | back to summary |
|---|---|
| public BeginXact() | |
| doMe | back to summary |
|---|---|
| public void doMe(Transaction xact, LogInstant instant, LimitObjectInput in) Implements org. Apply the change indicated by this operation and optional data.
| |
| getGlobalId | back to summary |
|---|---|
| public GlobalTransactionId getGlobalId() BeginXact method | |
| getPreparedLog | back to summary |
|---|---|
| public ByteArray getPreparedLog() Implements org. the default for prepared log is always null for all the operations that don't have optionalData. If an operation has optional data, the operation need to prepare the optional data for this method. BeginXact has no optional data to write out
| |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Return my format identifier.
| |
| group | back to summary |
|---|---|
| public int group() Implements org. BeginXact is both a FIRST and a RAWSTORE log record | |
| needsRedo | back to summary |
|---|---|
| public boolean needsRedo(Transaction xact) Implements org. Always redo a BeginXact.
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| releaseResource | back to summary |
|---|---|
| public void releaseResource(Transaction xact) Implements org. BeginXact has no resource to release | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. DEBUG: Print self.
| |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |