Package jadex.commons.collection
Interface IRwMap<K,V>
- 
- All Superinterfaces:
- java.util.Map<K,V>
 - All Known Implementing Classes:
- RwMapWrapper
 
 public interface IRwMap<K,V> extends java.util.Map<K,V>Interface for thread-safe maps using a read-write lock.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.locks.ReadWriteLockgetLock()Gets the internal lock.java.util.concurrent.locks.LockgetReadLock()Gets the read lock for manual locking.java.util.concurrent.locks.LockgetWriteLock()Gets the write lock for manual locking.IAutoLockreadLock()Locks the read lock for resource-based locking.IAutoLockwriteLock()Locks the write lock for resource-based locking.
 
- 
- 
- 
Method Detail- 
readLockIAutoLock readLock() Locks the read lock for resource-based locking.
 - 
writeLockIAutoLock writeLock() Locks the write lock for resource-based locking.
 - 
getReadLockjava.util.concurrent.locks.Lock getReadLock() Gets the read lock for manual locking.
 - 
getWriteLockjava.util.concurrent.locks.Lock getWriteLock() Gets the write lock for manual locking.
 - 
getLockjava.util.concurrent.locks.ReadWriteLock getLock() Gets the internal lock.- Returns:
- The lock.
 
 
- 
 
-