Class EndXact
java.lang.Object
org.apache.derby.impl.store.raw.xact.EndXact
- 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.the default for prepared log is always null for all the operations that don't have optionalData.intReturn my format identifier.intgroup()EndXact is a RAWSTORE log record.booleanneedsRedo(Transaction xact) Always redo an EndXact.voidvoidreleaseResource(Transaction xact) EndXact has no resource to releasetoString()DEBUG: Print self.void
-
Field Details
-
transactionStatus
private int transactionStatus -
xactId
-
-
Constructor Details
-
EndXact
-
EndXact
public EndXact()
-
-
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. EndXact has no optional data to write out- Specified by:
getPreparedLogin interfaceLoggable- See Also:
-
needsRedo
Always redo an EndXact. -
releaseResource
EndXact has no resource to release- Specified by:
releaseResourcein interfaceLoggable
-
group
-
toString
-