| Package | Description |
|---|---|
| org.symphonyoss.s2.canon.runtime.cache |
| Modifier and Type | Class and Description |
|---|---|
class |
Monitor<K,V extends Comparable<V>>
An implementation of IMonitor based upon an
IProducer which calls listeners in the current thread.
|
| Modifier and Type | Method and Description |
|---|---|
IMonitor<V> |
WeakMonitorCache.cache(K key,
V value,
org.symphonyoss.s2.fugue.core.trace.ITraceContext trace)
Cache the given object as the current version unless it is in the
cache already, in which case return the existing value.
|
IMonitor<V> |
IMonitorFactory.create(K key,
V value) |
IMonitor<V> |
IMonitor.setValue(V value,
org.symphonyoss.s2.fugue.core.trace.ITraceContext trace) |
IMonitor<V> |
IMonitor.setValueIfGreater(V value,
org.symphonyoss.s2.fugue.core.trace.ITraceContext trace) |
| Constructor and Description |
|---|
WeakMonitorCache(SynchronousProducer<IMonitor<V>> producer,
IMonitorFactory<K,V> monitorFactory) |
Copyright © 2018 Symphony Software Foundation. All rights reserved.