1 4 package com.tc.objectserver.tx; 5 6 import com.tc.net.protocol.tcm.ChannelID; 7 import com.tc.object.tx.TransactionID; 8 9 import java.util.Set ; 10 11 public interface TransactionAccount { 12 13 public abstract ChannelID getClientID(); 14 15 18 public abstract boolean removeWaitee(ChannelID waitee, TransactionID requestID); 19 20 public abstract void addWaitee(ChannelID waitee, TransactionID requestID); 21 22 public abstract boolean skipApplyAndCommit(TransactionID requestID); 23 24 public abstract void applyStarted(TransactionID requestID); 25 26 public abstract boolean applyCommitted(TransactionID requestID); 27 28 public abstract boolean broadcastCompleted(TransactionID requestID); 29 30 public abstract boolean hasWaitees(TransactionID requestID); 31 32 public abstract Set requestersWaitingFor(ChannelID waitee); 33 34 public abstract boolean relayTransactionComplete(TransactionID requestID); 35 36 } | Popular Tags |