org.jboss.cache.lock
Class IsolationLevel

java.lang.Object
  extended by org.jboss.cache.lock.IsolationLevel

public class IsolationLevel
extends java.lang.Object

Various transaction isolation levels as an enumerated class.


Field Summary
static IsolationLevel NONE
           
static IsolationLevel READ_COMMITTED
           
static IsolationLevel READ_UNCOMMITTED
           
static IsolationLevel REPEATABLE_READ
           
static IsolationLevel SERIALIZABLE
           
 
Method Summary
static IsolationLevel stringToIsolationLevel(java.lang.String level)
          Returns an isolation level from a string.
 java.lang.String toString()
          Returns the level as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final IsolationLevel NONE

SERIALIZABLE

public static final IsolationLevel SERIALIZABLE

REPEATABLE_READ

public static final IsolationLevel REPEATABLE_READ

READ_COMMITTED

public static final IsolationLevel READ_COMMITTED

READ_UNCOMMITTED

public static final IsolationLevel READ_UNCOMMITTED
Method Detail

toString

public java.lang.String toString()
Returns the level as a string.

Overrides:
toString in class java.lang.Object

stringToIsolationLevel

public static IsolationLevel stringToIsolationLevel(java.lang.String level)
Returns an isolation level from a string. Returns null if not found.



Copyright 1998-2005 JBoss Inc . All Rights Reserved.