Class BeginXact
java.lang.Object
org.apache.derby.impl.store.raw.xact.BeginXact
- All Implemented Interfaces:
Externalizable, Serializable, Formatable, TypedFormat, Loggable
-
Field Summary
FieldsFields inherited from interface Loggable
ABORT, BI_LOG, CHECKSUM, COMMIT, COMPENSATION, FILE_RESOURCE, FIRST, LAST, PREPARE, RAWSTORE, XA_NEEDLOCK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoMe(Transaction xact, LogInstant instant, LimitObjectInput in) Apply the change indicated by this operation and optional data.BeginXact methodthe default for prepared log is always null for all the operations that don't have optionalData.intReturn my format identifier.intgroup()BeginXact is both a FIRST and a RAWSTORE log recordbooleanneedsRedo(Transaction xact) Always redo a BeginXact.voidvoidreleaseResource(Transaction xact) BeginXact has no resource to releasetoString()DEBUG: Print self.void
-
Field Details
-
transactionStatus
protected int transactionStatus -
xactId
-
-
Constructor Details
-
BeginXact
-
BeginXact
public BeginXact()
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getTypeFormatId
public int getTypeFormatId()Return my format identifier.- Specified by:
getTypeFormatIdin interfaceTypedFormat- Returns:
- The identifier. (A UUID stuffed in an array of 16 bytes).
-
doMe
Apply the change indicated by this operation and optional data. -
getPreparedLog
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- Specified by:
getPreparedLogin interfaceLoggable- See Also:
-
needsRedo
Always redo a BeginXact. -
releaseResource
BeginXact has no resource to release- Specified by:
releaseResourcein interfaceLoggable
-
group
-
toString
-
getGlobalId
BeginXact method
-