protected static class TransientRegistry.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 |
---|
TransientRegistry.RegistryMap(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 TransientRegistry.RegistryMap(Logger log)
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–2016 MuleSoft, Inc.. All rights reserved.