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 Summary
All 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
- 
readLock
IAutoLock readLock()
Locks the read lock for resource-based locking. 
- 
writeLock
IAutoLock writeLock()
Locks the write lock for resource-based locking. 
- 
getReadLock
java.util.concurrent.locks.Lock getReadLock()
Gets the read lock for manual locking. 
- 
getWriteLock
java.util.concurrent.locks.Lock getWriteLock()
Gets the write lock for manual locking. 
- 
getLock
java.util.concurrent.locks.ReadWriteLock getLock()
Gets the internal lock.- Returns:
 - The lock.
 
 
 - 
 
 -