Class VoteReadOnly

java.lang.Object
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 Details

    • VoteReadOnly

      public VoteReadOnly()
  • Method Details

    • 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.