|
GigaSpaces XAP 8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jini.core.transaction.server.TransactionParticipantDataImpl
public class TransactionParticipantDataImpl
Contains ServerTransaction meta data for distributed transactions that have more than 1 participant.
Constructor Summary | |
---|---|
TransactionParticipantDataImpl()
|
|
TransactionParticipantDataImpl(long id,
int participantId,
int participantsCount)
|
|
TransactionParticipantDataImpl(Object id,
int participantId,
int participantsCount)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
long |
getContextId()
|
int |
getParticipantId()
The id of the space that committed the transaction. |
int |
getParticipantsCount()
Number of participants in transaction |
long |
getTransactionId()
The id of the distributed transaction |
Object |
getXid()
|
int |
hashCode()
|
void |
readExternal(ObjectInput in)
|
void |
readFromSwap(ObjectInput in)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
void |
writeToSwap(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransactionParticipantDataImpl()
public TransactionParticipantDataImpl(long id, int participantId, int participantsCount)
mgr
- id
- public TransactionParticipantDataImpl(Object id, int participantId, int participantsCount)
Method Detail |
---|
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
in
-
IOException
ClassNotFoundException
ServerTransaction.readExternal(java.io.ObjectInput)
public void readFromSwap(ObjectInput in) throws IOException, ClassNotFoundException
readFromSwap
in interface com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.ISwapExternalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
out
-
IOException
ServerTransaction.writeExternal(java.io.ObjectOutput)
public void writeToSwap(ObjectOutput out) throws IOException
writeToSwap
in interface com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.ISwapExternalizable
IOException
public long getTransactionId()
TransactionParticipantData
getTransactionId
in interface TransactionParticipantData
public int getParticipantId()
TransactionParticipantData
getParticipantId
in interface com.gigaspaces.internal.cluster.node.impl.packets.data.IReplicationParticipantsMetadata
getParticipantId
in interface TransactionParticipantData
public int getParticipantsCount()
TransactionParticipantData
getParticipantsCount
in interface com.gigaspaces.internal.cluster.node.impl.packets.data.IReplicationParticipantsMetadata
getParticipantsCount
in interface TransactionParticipantData
public Object getXid()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public long getContextId()
getContextId
in interface com.gigaspaces.internal.cluster.node.impl.packets.data.IReplicationParticipantsMetadata
|
GigaSpaces XAP 8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |