public class SyncEventList<E> extends IndexEventList<E>
| Modifier and Type | Field and Description |
|---|---|
protected Object |
syncRead |
protected Object |
syncWrite |
eventQueue, listeners| Constructor and Description |
|---|
SyncEventList(List<E> wraplist,
Object sync) |
SyncEventList(List<E> wraplist,
Object syncRead,
Object syncWrite) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
lockRun(Func0 run)
Выполнение кода в блокировке
|
protected Object |
lockRun(Func0 run,
LockMethod method)
Выполнение кода в блокировке
|
add, add0, iterator, iterator0, remove, remove, remove0, remove0, removeAll, removeAll0, retainAll, retainAll0add, add0, addAll, addAll, addAll0, addAll0, addEventListListener, addEventListListener, addEventToQueue, clear, clear0, contains, containsAll, containsEventListListener, fireEventListMessage, fireQueueEvents, fireQueueEvents0, get, getListenersHelper, getWrappedList, indexOf, isEmpty, 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, removeEventListListener, 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.