GigaSpaces XAP 8.0 API

net.jini.core.transaction.server
Interface TransactionParticipantData

All Superinterfaces:
com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.ISwapExternalizable
All Known Implementing Classes:
TransactionParticipantDataImpl

public interface TransactionParticipantData
extends com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.ISwapExternalizable

Interface for jini transaction participant data.
Each transaction participant(space) sends this info to mirror - to allow transaction consolidation on mirror side.
TransactionParticipantData contains information about transaction at the time of commit -
transaction id, number of partitions that participated at this transaction and the transaction participants id.

Since:
7.1
Author:
anna

Method Summary
 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
 
Methods inherited from interface com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.ISwapExternalizable
readFromSwap, writeToSwap
 

Method Detail

getParticipantId

int getParticipantId()
The id of the space that committed the transaction.

Returns:
the participantId

getParticipantsCount

int getParticipantsCount()
Number of participants in transaction

Returns:
the participantsCount

getTransactionId

long getTransactionId()
The id of the distributed transaction

Returns:
the transactionId

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.