org.jgroups.blocks

Class TwoPhaseVotingAdapter.TwoPhaseWrapper

Enclosing Class:
TwoPhaseVotingAdapter
Implemented Interfaces:
java.io.Serializable

public static class TwoPhaseVotingAdapter.TwoPhaseWrapper
extends java.lang.Object
implements java.io.Serializable

Wrapper of the decree to voting decree.

See Also:
Serialized Form

Constructor Summary

TwoPhaseWrapper(Object decree)

Method Summary

void
abort()
void
commit()
Object
getDecree()
boolean
isAbort()
boolean
isCommit()
boolean
isPrepare()
void
setDecree(Object decree)
String
toString()

Constructor Details

TwoPhaseWrapper

public TwoPhaseWrapper(Object decree)

Method Details

abort

public void abort()


commit

public void commit()


getDecree

public Object getDecree()


isAbort

public boolean isAbort()


isCommit

public boolean isCommit()


isPrepare

public boolean isPrepare()


setDecree

public void setDecree(Object decree)


toString

public String toString()


Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.