org.jgroups.blocks

Class TwoPhaseVotingAdapter.TwoPhaseWrapper

public static class TwoPhaseVotingAdapter.TwoPhaseWrapper extends Object implements Serializable

Wrapper of the decree to voting decree.
Constructor Summary
TwoPhaseWrapper(Object decree)
Method Summary
voidabort()
voidcommit()
ObjectgetDecree()
booleanisAbort()
booleanisCommit()
booleanisPrepare()
voidsetDecree(Object decree)
StringtoString()

Constructor Detail

TwoPhaseWrapper

public TwoPhaseWrapper(Object decree)

Method Detail

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 ? 1998-2005 Bela Ban. All Rights Reserved.