Package | Description |
---|---|
fr.liglab.adele.cilia.util.concurrent |
Modifier and Type | Class and Description |
---|---|
class |
Mutex |
protected class |
WriterPreferenceReadWriteLock.ReaderLock |
protected class |
WriterPreferenceReadWriteLock.WriterLock |
Modifier and Type | Field and Description |
---|---|
protected Sync |
SyncMap.rd_ |
protected Sync |
SyncCollection.rd_ |
protected Sync |
SyncMap.wr_ |
protected Sync |
SyncCollection.wr_ |
Modifier and Type | Method and Description |
---|---|
Sync |
SyncMap.readerSync()
Return the Sync object managing read-only operations
|
Sync |
SyncCollection.readerSync()
Return the Sync object managing read-only operations
|
Sync |
ReadWriteLock.readLock()
get the readLock
|
Sync |
WriterPreferenceReadWriteLock.readLock() |
Sync |
ReadWriteLock.writeLock()
get the writeLock
|
Sync |
WriterPreferenceReadWriteLock.writeLock() |
Sync |
SyncMap.writerSync()
Return the Sync object managing mutative operations
|
Sync |
SyncCollection.writerSync()
Return the Sync object managing mutative operations
|
Constructor and Description |
---|
SyncCollection(Collection collection,
Sync sync)
Create a new SyncCollection protecting the given collection,
and using the given sync to control both reader and writer methods.
|
SyncCollection(Collection collection,
Sync readLock,
Sync writeLock)
Create a new SyncCollection protecting the given collection,
and using the given pair of locks to control reader and writer methods.
|
SyncList(List list,
Sync sync)
Create a new SyncList protecting the given collection,
and using the given sync to control both reader and writer methods.
|
SyncList(List list,
Sync readLock,
Sync writeLock)
Create a new SyncList protecting the given list,
and using the given pair of locks to control reader and writer methods.
|
SyncMap(Map map,
Sync sync)
Create a new SyncMap protecting the given map,
and using the given sync to control both reader and writer methods.
|
SyncMap(Map map,
Sync readLock,
Sync writeLock)
Create a new SyncMap protecting the given map,
and using the given pair of locks to control reader and writer methods.
|
SyncSet(Set set,
Sync sync)
Create a new SyncSet protecting the given collection,
and using the given sync to control both reader and writer methods.
|
SyncSet(Set set,
Sync readLock,
Sync writeLock)
Create a new SyncSet protecting the given set,
and using the given pair of locks to control reader and writer methods.
|
Copyright © 2012-2013 Adele Team | LIG. All Rights Reserved.