org.multiverse.stms.alpha
Class AlphaStmUtils

java.lang.Object
  extended by org.multiverse.stms.alpha.AlphaStmUtils

public final class AlphaStmUtils
extends Object

Utility class for various utility methods.

Author:
Peter Veentjer

Method Summary
static AlphaTransactionalObject getTransactionalObject(AlphaTranlocal tranlocal)
          Gets the TransactionalObject for the provided AlphaTranlocal.
static String toTxObjectString(AlphaTransactionalObject object)
          Debug representation of a TransactionalObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toTxObjectString

public static String toTxObjectString(AlphaTransactionalObject object)
Debug representation of a TransactionalObject.

Parameters:
object -
Returns:
the string representation of the atomicobject.

getTransactionalObject

public static AlphaTransactionalObject getTransactionalObject(AlphaTranlocal tranlocal)
Gets the TransactionalObject for the provided AlphaTranlocal.

Parameters:
tranlocal - the AlphaTranlocal.
Returns:
the AlphaTransactionalObject that belongs to the tranlocal, or null if tranlocal is null.


Copyright © 2008-2010 Multiverse. All Rights Reserved.