java.lang.Object
swim.system.AbstractWarpRef
swim.system.AbstractTierBinding
swim.system.LaneView
swim.system.warp.WarpLaneView
swim.system.lane.JoinMapLaneView<L,K,V>
- All Implemented Interfaces:
Iterable<Map.Entry<K,
,V>> Map<K,
,V> DownlinkFactory
,Lane
,JoinMapLane<L,
,K, V> WarpRef
,WarpLane
,Observable<Object>
,ObservableMap<K,
,V> CellContext
,TierBinding
,Log
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AgentContext
protected int
protected JoinMapLaneModel
Fields inherited from class swim.system.AbstractTierBinding
CLOSED_PHASE, CLOSED_STATE, CLOSING_STATE, FAILED_STATE, FAILING_STATE, LOADED_PHASE, LOADED_STATE, LOADING_STATE, OPENED_PHASE, OPENED_STATE, OPENING_STATE, PHASE_MASK, PHASE_SHIFT, RECOVERING_STATE, STARTED_PHASE, STARTED_STATE, STARTING_STATE, STATE_MASK, status, STATUS, STOPPING_STATE, UNLOADING_STATE
-
Constructor Summary
ConstructorsConstructorDescriptionJoinMapLaneView
(AgentContext agentContext, Form<L> linkForm, Form<K> keyForm, Form<V> valueForm) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
close()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) didCommand
(DidCommand didCommand) didDownlink
(DidDownlinkMap<L> didDownlink) didRemove
(DidRemoveKey<K, V> didRemove) didUpdate
(DidUpdateKey<K, V> didUpdate) boolean
dispatchDidClear
(Link link, boolean preemptive) boolean
dispatchDidDownlink
(L key, MapDownlink<?, ?> downlink, boolean preemptive) boolean
dispatchDidRemove
(Link link, K key, V oldValue, boolean preemptive) boolean
dispatchDidUpdate
(Link link, K key, V newValue, V oldValue, boolean preemptive) boolean
dispatchWillClear
(Link link, boolean preemptive) Map.Entry<Boolean,
MapDownlink<?, ?>> dispatchWillDownlink
(L key, MapDownlink<?, ?> downlink, boolean preemptive) boolean
dispatchWillRemove
(Link link, K key, boolean preemptive) dispatchWillUpdate
(Link link, K key, V newValue, boolean preemptive) Iterator<Map.Entry<L,
MapDownlink<?, ?>>> entrySet()
MapDownlink<?,
?> getDownlink
(Object key) boolean
isEmpty()
final boolean
isResident
(boolean isResident) final boolean
isTransient
(boolean isTransient) iterator()
<K2> JoinMapLaneView<L,
K2, V> keyForm()
<K2> JoinMapLaneView<L,
K2, V> keySet()
void
void
laneDidDownlink
(K key, MapDownlink<K, V> downlink) void
laneDidRemove
(K key, V oldValue) void
laneDidUpdate
(K key, V newValue, V oldValue) void
laneWillDownlink
(L key, MapDownlink<K, V> downlink) void
laneWillRemove
(K key) laneWillUpdate
(K key, V newValue) <L2> JoinMapLaneView<L2,
K, V> linkForm()
<L2> JoinMapLaneView<L2,
K, V> void
void
setKeyForm
(Form<K> keyForm) void
setLinkForm
(Form<L> linkForm) void
setValueForm
(Form<V> valueForm) int
size()
protected Object
typesafeObservers
(Object observers) <V2> JoinMapLaneView<L,
K, V2> valueClass
(Class<V2> valueClass) <V2> JoinMapLaneView<L,
K, V2> values()
willCommand
(WillCommand willCommand) willDownlink
(WillDownlinkMap<L> willDownlink) protected void
willLoad()
willRemove
(WillRemoveKey<K> willRemove) willUpdate
(WillUpdateKey<K, V> willUpdate) willUplink
(WillUplink willUplink) Methods inherited from class swim.system.warp.WarpLaneView
dispatchDidCommand, dispatchDidEnter, dispatchDidLeave, dispatchDidUplink, dispatchWillCommand, dispatchWillEnter, dispatchWillLeave, dispatchWillUplink, laneDidCommand, laneDidEnter, laneDidLeave, laneDidUplink, laneWillCommand, laneWillEnter, laneWillLeave, laneWillUplink
Methods inherited from class swim.system.LaneView
bindDownlink, bottomLane, cellAddress, closeDownlink, debug, edgeName, error, fail, hostUri, info, laneContext, laneDidFail, laneUri, meshUri, nodeUri, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store, tierContext, trace, unwrapLane, warn
Methods inherited from class swim.system.AbstractTierBinding
activate, awaitStart, didClose, didFail, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload, willClose, willOpen, willStart, willStop, willUnload
Methods inherited from class swim.system.AbstractWarpRef
command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, downlink, downlinkHttp, downlinkList, downlinkMap, downlinkValue, downlinkWs, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRef
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
agentContext
-
linkForm
-
keyForm
-
valueForm
-
flags
protected int flags -
laneBinding
-
dataView
-
-
Constructor Details
-
JoinMapLaneView
-
-
Method Details
-
agentContext
- Specified by:
agentContext
in classLaneView
-
laneBinding
- Specified by:
laneBinding
in classLaneView
-
createLaneBinding
- Specified by:
createLaneBinding
in classLaneView
-
linkForm
- Specified by:
linkForm
in interfaceJoinMapLane<L,
K, V>
-
linkForm
- Specified by:
linkForm
in interfaceJoinMapLane<L,
K, V>
-
linkClass
- Specified by:
linkClass
in interfaceJoinMapLane<L,
K, V>
-
setLinkForm
-
keyForm
- Specified by:
keyForm
in interfaceJoinMapLane<L,
K, V>
-
keyForm
- Specified by:
keyForm
in interfaceJoinMapLane<L,
K, V>
-
keyClass
- Specified by:
keyClass
in interfaceJoinMapLane<L,
K, V>
-
setKeyForm
-
valueForm
- Specified by:
valueForm
in interfaceJoinMapLane<L,
K, V>
-
valueForm
- Specified by:
valueForm
in interfaceJoinMapLane<L,
K, V>
-
valueClass
- Specified by:
valueClass
in interfaceJoinMapLane<L,
K, V>
-
setValueForm
-
typesafeObservers
-
isResident
public final boolean isResident()- Specified by:
isResident
in interfaceJoinMapLane<L,
K, V>
-
isResident
- Specified by:
isResident
in interfaceJoinMapLane<L,
K, V>
-
isTransient
public final boolean isTransient()- Specified by:
isTransient
in interfaceJoinMapLane<L,
K, V>
-
isTransient
- Specified by:
isTransient
in interfaceJoinMapLane<L,
K, V>
-
willLoad
protected void willLoad()- Overrides:
willLoad
in classAbstractTierBinding
-
close
public void close() -
observe
- Specified by:
observe
in interfaceJoinMapLane<L,
K, V> - Specified by:
observe
in interfaceLane
- Specified by:
observe
in interfaceObservable<L>
- Specified by:
observe
in interfaceObservableMap<L,
K> - Specified by:
observe
in interfaceWarpLane
- Overrides:
observe
in classWarpLaneView
-
unobserve
- Specified by:
unobserve
in interfaceJoinMapLane<L,
K, V> - Specified by:
unobserve
in interfaceLane
- Specified by:
unobserve
in interfaceObservable<L>
- Specified by:
unobserve
in interfaceObservableMap<L,
K> - Specified by:
unobserve
in interfaceWarpLane
- Overrides:
unobserve
in classWarpLaneView
-
willDownlink
- Specified by:
willDownlink
in interfaceJoinMapLane<L,
K, V>
-
didDownlink
- Specified by:
didDownlink
in interfaceJoinMapLane<L,
K, V>
-
willUpdate
- Specified by:
willUpdate
in interfaceJoinMapLane<L,
K, V> - Specified by:
willUpdate
in interfaceObservableMap<L,
K>
-
didUpdate
- Specified by:
didUpdate
in interfaceJoinMapLane<L,
K, V> - Specified by:
didUpdate
in interfaceObservableMap<L,
K>
-
willRemove
- Specified by:
willRemove
in interfaceJoinMapLane<L,
K, V> - Specified by:
willRemove
in interfaceObservableMap<L,
K>
-
didRemove
- Specified by:
didRemove
in interfaceJoinMapLane<L,
K, V> - Specified by:
didRemove
in interfaceObservableMap<L,
K>
-
willClear
- Specified by:
willClear
in interfaceJoinMapLane<L,
K, V> - Specified by:
willClear
in interfaceObservableMap<L,
K>
-
didClear
- Specified by:
didClear
in interfaceJoinMapLane<L,
K, V> - Specified by:
didClear
in interfaceObservableMap<L,
K>
-
willCommand
- Specified by:
willCommand
in interfaceJoinMapLane<L,
K, V> - Specified by:
willCommand
in interfaceWarpLane
- Specified by:
willCommand
in classWarpLaneView
-
didCommand
- Specified by:
didCommand
in interfaceJoinMapLane<L,
K, V> - Specified by:
didCommand
in interfaceWarpLane
- Specified by:
didCommand
in classWarpLaneView
-
willUplink
- Specified by:
willUplink
in interfaceJoinMapLane<L,
K, V> - Specified by:
willUplink
in interfaceWarpLane
- Specified by:
willUplink
in classWarpLaneView
-
didUplink
- Specified by:
didUplink
in interfaceJoinMapLane<L,
K, V> - Specified by:
didUplink
in interfaceWarpLane
- Specified by:
didUplink
in classWarpLaneView
-
willEnter
- Specified by:
willEnter
in interfaceJoinMapLane<L,
K, V> - Specified by:
willEnter
in interfaceWarpLane
- Specified by:
willEnter
in classWarpLaneView
-
didEnter
- Specified by:
didEnter
in interfaceJoinMapLane<L,
K, V> - Specified by:
didEnter
in interfaceWarpLane
- Specified by:
didEnter
in classWarpLaneView
-
willLeave
- Specified by:
willLeave
in interfaceJoinMapLane<L,
K, V> - Specified by:
willLeave
in interfaceWarpLane
- Specified by:
willLeave
in classWarpLaneView
-
didLeave
- Specified by:
didLeave
in interfaceJoinMapLane<L,
K, V> - Specified by:
didLeave
in interfaceWarpLane
- Specified by:
didLeave
in classWarpLaneView
-
dispatchWillUpdate
-
dispatchDidUpdate
-
dispatchWillRemove
-
dispatchDidRemove
-
dispatchWillClear
-
dispatchDidClear
-
dispatchWillDownlink
public Map.Entry<Boolean,MapDownlink<?, dispatchWillDownlink?>> (L key, MapDownlink<?, ?> downlink, boolean preemptive) -
dispatchDidDownlink
-
laneWillDownlink
-
laneDidDownlink
-
laneWillUpdate
-
laneDidUpdate
-
laneWillRemove
-
laneDidRemove
-
laneWillClear
public void laneWillClear() -
laneDidClear
public void laneDidClear() -
downlink
- Specified by:
downlink
in interfaceJoinMapLane<L,
K, V>
-
isEmpty
public boolean isEmpty() -
size
public int size() -
containsKey
- Specified by:
containsKey
in interfaceMap<L,
K>
-
containsValue
- Specified by:
containsValue
in interfaceMap<L,
K>
-
get
-
getDownlink
- Specified by:
getDownlink
in interfaceJoinMapLane<L,
K, V>
-
put
-
putAll
-
remove
-
clear
public void clear() -
entrySet
-
keySet
-
values
-
iterator
-
keyIterator
- Specified by:
keyIterator
in interfaceJoinMapLane<L,
K, V>
-
valueIterator
- Specified by:
valueIterator
in interfaceJoinMapLane<L,
K, V>
-
downlinkIterator
- Specified by:
downlinkIterator
in interfaceJoinMapLane<L,
K, V>
-