public class RegistryMap extends Object
HashMap that's used for storing the objects in the transient registry and also shields
client code from having to deal with locking the ReadWriteLock for the exposed Map operations.| Constructor and Description |
|---|
RegistryMap(org.slf4j.Logger log) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Set<Map.Entry<String,Object>> |
entrySet() |
<T> T |
get(String key) |
Set<Object> |
getLostObjects() |
void |
lockForReading() |
void |
putAll(Map<String,Object> map) |
void |
putAndLogWarningIfDuplicate(String key,
Object object) |
Object |
remove(String key) |
Collection<?> |
select(org.apache.commons.collections.Predicate predicate) |
void |
unlockForReading() |
public Collection<?> select(org.apache.commons.collections.Predicate predicate)
public void clear()
public <T> T get(String key)
public void lockForReading()
public void unlockForReading()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.