org.apache.derby.iapi.store.raw.xact
Interface TransactionId

All Superinterfaces:
java.io.Externalizable, Formatable, java.io.Serializable, TypedFormat
All Known Implementing Classes:
XactId

public interface TransactionId
extends Formatable

A transaction identifier that is only unique within a raw store, do not ever pass this out of raw store. During reboot, all transaction Ids that have ever generated a log record will not be reused. However, if you put away the transaction Id of a read only transaction, then the is no guarentee that the transactionId won't be reused when the system reboots. It is much safer to store away the ExternalTrasanctionId rather than the transactionId. The equals() method for TransactionId implements by value equality. MT - immutable


Method Summary
 int getMaxStoredSize()
          Return the maximum number of bytes the transactionId will take to store using writeExternal.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 
Methods inherited from interface org.apache.derby.iapi.services.io.TypedFormat
getTypeFormatId
 

Method Detail

getMaxStoredSize

public int getMaxStoredSize()
Return the maximum number of bytes the transactionId will take to store using writeExternal.


Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.