com.arjuna.mw.wscf.model.twophase.vote
Class VoteReadOnly

java.lang.Object
  extended by com.arjuna.mw.wscf.model.twophase.vote.VoteReadOnly
All Implemented Interfaces:
Vote

public class VoteReadOnly
extends Object
implements Vote

The inferior votes that it has done no work that requires to be involved any further in the two-phase protocol. For example, it has not updated any data. This can then be used by the coordinator to optimise the subsequent phase of the protocol (if any). WARNING: this should be used with care.

Version:
$Id: VoteReadOnly.java,v 1.1 2003/01/07 10:33:47 nmcl Exp $
Author:
Mark Little (mark.little@arjuna.com)

Constructor Summary
VoteReadOnly()
           
 
Method Summary
 boolean equals(Object o)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VoteReadOnly

public VoteReadOnly()
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object
Returns:
a printable version of the vote.


Copyright © 2012. All Rights Reserved.