public class SyncEventMap<Key,Value> extends BasicEventMap<Key,Value>
| Modifier and Type | Field and Description |
|---|---|
protected Object |
syncRead |
protected Object |
syncWrite |
eventQueue, listeners| Constructor and Description |
|---|
SyncEventMap() |
SyncEventMap(Map<Key,Value> wrappedMap) |
SyncEventMap(Map<Key,Value> wrappedMap,
Object lock) |
SyncEventMap(Map<Key,Value> wrappedMap,
Object syncRead,
Object syncWrite) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getSyncRead()
Возвращает блокировку на методы Map
|
Object |
getSyncWrite()
Возвращает блокировку на методы Map
|
protected Object |
lockRun(Func0 run)
Выполнение кода в блокировке
|
protected Object |
lockRun(Func0 run,
LockMethod method)
Выполнение кода в блокировке
|
addEventMapListener, addEventMapListener, addEventToQueue, clear, containsEventMapListener, containsKey, containsValue, createDeleted, createInserted, createUpdated, entrySet, fireDeleted, fireEvent, fireInserted, fireQueueEvents, fireUpdated, get, getListenersHelper, getListenersLock, getWrappedMap, isEmpty, keySet, listenObjectChanged, onChanged, onChanged, onDeleted, onDeleted, onInserted, onInserted, onUpdated, onUpdated, put, putAll, remove, removeEventMapListener, sendNewListOnNewWrapperMap, setWrappedMap, size, valuesequalsclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Object getSyncWrite()
public Object getSyncRead()
protected Object lockRun(Func0 run, LockMethod method)
BasicEventMaplockRun in class BasicEventMap<Key,Value>run - кодmethod - метод map для которого вызывается блокировкаprotected Object lockRun(Func0 run)
BasicEventMaplockRun in class BasicEventMap<Key,Value>run - код-функцияCopyright © 2017. All rights reserved.