1 18 package org.apache.activemq.broker.region; 19 20 public interface LockOwner { 21 22 public static final LockOwner HIGH_PRIORITY_LOCK_OWNER = new LockOwner() { 23 public int getLockPriority() { 24 return Integer.MAX_VALUE; 25 } 26 public boolean isLockExclusive() { 27 return false; 28 } 29 }; 30 31 int getLockPriority(); 32 boolean isLockExclusive(); 33 34 } 35 | Popular Tags |