com.hammurapi.flow.runtime.impl
Class MapPropertySet
java.lang.Object
com.hammurapi.flow.runtime.impl.MapPropertySet
- All Implemented Interfaces:
- PropertySet
public class MapPropertySet
- extends Object
- implements PropertySet
Creates property sets backed by ConcurrentHashMap.
- Author:
- Pavel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapPropertySet
public MapPropertySet(Map<String,?> source,
Executor executor,
ScheduledExecutorService scheduler,
PropertySet... chain)
MapPropertySet
public MapPropertySet(Map<String,?> source)
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNames in interface PropertySet
getSubset
public PropertySet getSubset(String prefix)
- Specified by:
getSubset in interface PropertySet
remove
public void remove(String name)
- Specified by:
remove in interface PropertySet
set
public void set(String name,
Object value)
- Specified by:
set in interface PropertySet
get
public Object get(String name)
- Specified by:
get in interface PropertySet
clear
public void clear()
- Specified by:
clear in interface PropertySet
mount
public void mount(String prefix,
PropertySet source)
- Specified by:
mount in interface PropertySet
setAll
public void setAll(PropertySet source)
- Specified by:
setAll in interface PropertySet
compareProperties
public boolean compareProperties(PropertySet otherSet)
- Specified by:
compareProperties in interface PropertySet
- Returns:
- true if other property set entries are equal to this property set entries.
Other Property set attribute
containsAll
public boolean containsAll(PropertySet subSet)
- Specified by:
containsAll in interface PropertySet
get
public Object get(String name,
Object defaultValue)
- Specified by:
get in interface PropertySet
cancel
public void cancel(String name)
- Specified by:
cancel in interface PropertySet
cook
public void cook(String name,
Callable<?> callable)
- Specified by:
cook in interface PropertySet
cooking
public void cooking(String name,
Future<?> future)
- Specified by:
cooking in interface PropertySet
cook
public void cook(String name,
Callable<?> callable,
long delay,
TimeUnit timeUnit)
- Specified by:
cook in interface PropertySet
lazy
public void lazy(String name,
Callable<?> callable)
- Specified by:
lazy in interface PropertySet