- java.lang.Object
-
- swim.streamlet.AbstractMapInlet<K,V,O>
-
- swim.streamlet.OutletMapInlet<K,V,O>
-
public class OutletMapInlet<K,V,O> extends AbstractMapInlet<K,V,O>
AMapInlet
that invalidates a parameterizedOutlet
whenever theMapInlet
is invalidated, and that updates the parameterizedOutlet
whenever theMapInlet
updates.
-
-
Field Summary
-
Fields inherited from class swim.streamlet.AbstractMapInlet
effects, input, version
-
-
Constructor Summary
Constructors Constructor Description OutletMapInlet(Outlet<?> outlet)
-
Method Summary
Modifier and Type Method Description protected void
onInvalidateOutput()
protected void
onInvalidateOutputKey(K key, KeyEffect effect)
protected void
onReconcileOutput(int version)
protected void
onReconcileOutputKey(K key, KeyEffect effect, int version)
Outlet<?>
outlet()
-
Methods inherited from class swim.streamlet.AbstractMapInlet
bindInput, bindInput, didInvalidateOutput, didInvalidateOutputKey, didReconcileOutput, didReconcileOutputKey, disconnectInputs, disconnectOutputs, input, invalidateOutput, invalidateOutputKey, reconcileOutput, reconcileOutputKey, unbindInput, willInvalidateOutput, willInvalidateOutputKey, willReconcileOutput, willReconcileOutputKey
-
-
-
-
Field Detail
-
outlet
protected final Outlet<?> outlet
-
-
Constructor Detail
-
OutletMapInlet
public OutletMapInlet(Outlet<?> outlet)
-
-
Method Detail
-
outlet
public Outlet<?> outlet()
-
onInvalidateOutputKey
protected void onInvalidateOutputKey(K key, KeyEffect effect)
- Overrides:
onInvalidateOutputKey
in classAbstractMapInlet<K,V,O>
-
onInvalidateOutput
protected void onInvalidateOutput()
- Overrides:
onInvalidateOutput
in classAbstractMapInlet<K,V,O>
-
onReconcileOutputKey
protected void onReconcileOutputKey(K key, KeyEffect effect, int version)
- Overrides:
onReconcileOutputKey
in classAbstractMapInlet<K,V,O>
-
onReconcileOutput
protected void onReconcileOutput(int version)
- Overrides:
onReconcileOutput
in classAbstractMapInlet<K,V,O>
-
-