org.jboss.cache.lock
Class LockStrategyFactory

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

public class LockStrategyFactory
extends java.lang.Object

Factory to create LockStragtegy instance.

Author:
Ben Wang

Constructor Summary
protected LockStrategyFactory()
           
 
Method Summary
static LockStrategy getLockStrategy()
           
static LockStrategy getLockStrategy(IsolationLevel lockingLevel)
           
static void setIsolationLevel(IsolationLevel level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockStrategyFactory

protected LockStrategyFactory()
Method Detail

getLockStrategy

public static LockStrategy getLockStrategy()

getLockStrategy

public static LockStrategy getLockStrategy(IsolationLevel lockingLevel)

setIsolationLevel

public static void setIsolationLevel(IsolationLevel level)