Class TwoPhaseVotingAdapter.TwoPhaseWrapper

java.lang.Object
org.jgroups.blocks.TwoPhaseVotingAdapter.TwoPhaseWrapper
All Implemented Interfaces:
Serializable
Enclosing class:
TwoPhaseVotingAdapter

public static class TwoPhaseVotingAdapter.TwoPhaseWrapper extends Object implements Serializable
Wrapper of the decree to voting decree.
See Also:
  • Constructor Details

    • TwoPhaseWrapper

      public TwoPhaseWrapper(Object decree)
  • Method Details

    • getDecree

      public Object getDecree()
    • setDecree

      public void setDecree(Object decree)
    • isPrepare

      public boolean isPrepare()
    • isCommit

      public boolean isCommit()
    • isAbort

      public boolean isAbort()
    • commit

      public void commit()
    • abort

      public void abort()
    • toString

      public String toString()
      Overrides:
      toString in class Object