org.javagroups.blocks
Class TwoPhaseVotingAdapter.TwoPhaseWrapper
java.lang.Object
|
+--org.javagroups.blocks.TwoPhaseVotingAdapter.TwoPhaseWrapper
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- TwoPhaseVotingAdapter
- public static class TwoPhaseVotingAdapter.TwoPhaseWrapper
- extends java.lang.Object
- implements java.io.Serializable
Wrapper of the decree to voting decree.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TwoPhaseVotingAdapter.TwoPhaseWrapper
public TwoPhaseVotingAdapter.TwoPhaseWrapper(java.lang.Object decree)
getDecree
public java.lang.Object getDecree()
setDecree
public void setDecree(java.lang.Object decree)
isPrepare
public boolean isPrepare()
isCommit
public boolean isCommit()
isAbort
public boolean isAbort()
commit
public void commit()
abort
public void abort()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright ? 2001,2002 www.javagroups.com . All Rights Reserved.