public class LockEventList<E> extends BasicEventList<E>
| Modifier and Type | Field and Description |
|---|---|
protected Lock |
lockRead |
protected Lock |
lockWrite |
eventQueue, listeners| Constructor and Description |
|---|
LockEventList(List<E> wraplist) |
LockEventList(List<E> wraplist,
Lock lock) |
LockEventList(List<E> wraplist,
Lock lockRead,
Lock lockWrite) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
lockRun(Func0 run)
Выполнение кода в блокировке
|
protected Object |
lockRun(Func0 run,
LockMethod method)
Выполнение кода в блокировке
|
add, add, add0, add0, addAll, addAll, addAll0, addAll0, addEventListListener, addEventListListener, addEventToQueue, clear, clear0, contains, containsAll, containsEventListListener, fireEventListMessage, fireQueueEvents, fireQueueEvents0, get, getListenersHelper, getWrappedList, indexOf, isEmpty, iterator, iterator0, lastIndexOf, listIterator, listIterator, listIterator0, listIterator0, onAdded, onAdding, onChanged, onChanged, onChanging, onChanging, onDeleted, onDeleted, onDeleting, onDeleting, onInserted, onInserted, onInserting, onInserting, onRemoved, onRemoving, onUpdated, onUpdated, onUpdating, onUpdating, remove, remove, remove0, remove0, removeAll, removeAll0, removeEventListListener, retainAll, retainAll0, set, set0, setWrappedList, size, subList, subList0, toArray, toArraytoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamprotected Object lockRun(Func0 run, LockMethod method)
BasicEventListlockRun in class BasicEventList<E>run - кодmethod - метод map для которого вызывается блокировкаprotected Object lockRun(Func0 run)
BasicEventListlockRun in class BasicEventList<E>run - кодCopyright © 2017. All rights reserved.