1 7 package org.jboss.cache.lock; 8 9 import org.jboss.cache.TreeCache; 10 11 12 16 public class LockManagerImpl implements LockManager 17 { 18 protected boolean dirty_reads_allowed = true; 19 20 21 public LockManagerImpl() 22 { 23 24 } 25 26 public boolean getDirtyReadsAllowed() 27 { 28 return dirty_reads_allowed; 29 } 30 31 public void setDirtyReadsAllowed(boolean flag) 32 { 33 this.dirty_reads_allowed = flag; 34 } 35 36 public void getReadLock(TreeCache cache, String fqn, long timeout) throws TimeoutException 37 { 38 } 39 40 public void getWriteLock(TreeCache cache, String fqn, long timeout) 41 throws TimeoutException, UpgradeException 42 { 43 } 44 45 public void releaseLock(String fqn, boolean release_children) 46 { 47 } 48 49 } 50 | Popular Tags |