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 AgentContextprotected intprotected JoinMapLaneModelFields 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 TypeMethodDescriptionvoidclear()voidclose()booleancontainsKey(Object key) booleancontainsValue(Object value) didCommand(DidCommand didCommand) didDownlink(DidDownlinkMap<L> didDownlink) didRemove(DidRemoveKey<K, V> didRemove) didUpdate(DidUpdateKey<K, V> didUpdate) booleandispatchDidClear(Link link, boolean preemptive) booleandispatchDidDownlink(L key, MapDownlink<?, ?> downlink, boolean preemptive) booleandispatchDidRemove(Link link, K key, V oldValue, boolean preemptive) booleandispatchDidUpdate(Link link, K key, V newValue, V oldValue, boolean preemptive) booleandispatchWillClear(Link link, boolean preemptive) Map.Entry<Boolean,MapDownlink<?, ?>> dispatchWillDownlink(L key, MapDownlink<?, ?> downlink, boolean preemptive) booleandispatchWillRemove(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) booleanisEmpty()final booleanisResident(boolean isResident) final booleanisTransient(boolean isTransient) iterator()<K2> JoinMapLaneView<L,K2, V> keyForm()<K2> JoinMapLaneView<L,K2, V> keySet()voidvoidlaneDidDownlink(K key, MapDownlink<K, V> downlink) voidlaneDidRemove(K key, V oldValue) voidlaneDidUpdate(K key, V newValue, V oldValue) voidlaneWillDownlink(L key, MapDownlink<K, V> downlink) voidlaneWillRemove(K key) laneWillUpdate(K key, V newValue) <L2> JoinMapLaneView<L2,K, V> linkForm()<L2> JoinMapLaneView<L2,K, V> voidvoidsetKeyForm(Form<K> keyForm) voidsetLinkForm(Form<L> linkForm) voidsetValueForm(Form<V> valueForm) intsize()protected ObjecttypesafeObservers(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 voidwillLoad()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, laneWillUplinkMethods 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, warnMethods 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, willUnloadMethods 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, nodeRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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:
agentContextin classLaneView
-
laneBinding
- Specified by:
laneBindingin classLaneView
-
createLaneBinding
- Specified by:
createLaneBindingin classLaneView
-
linkForm
- Specified by:
linkFormin interfaceJoinMapLane<L,K, V>
-
linkForm
- Specified by:
linkFormin interfaceJoinMapLane<L,K, V>
-
linkClass
- Specified by:
linkClassin interfaceJoinMapLane<L,K, V>
-
setLinkForm
-
keyForm
- Specified by:
keyFormin interfaceJoinMapLane<L,K, V>
-
keyForm
- Specified by:
keyFormin interfaceJoinMapLane<L,K, V>
-
keyClass
- Specified by:
keyClassin interfaceJoinMapLane<L,K, V>
-
setKeyForm
-
valueForm
- Specified by:
valueFormin interfaceJoinMapLane<L,K, V>
-
valueForm
- Specified by:
valueFormin interfaceJoinMapLane<L,K, V>
-
valueClass
- Specified by:
valueClassin interfaceJoinMapLane<L,K, V>
-
setValueForm
-
typesafeObservers
-
isResident
public final boolean isResident()- Specified by:
isResidentin interfaceJoinMapLane<L,K, V>
-
isResident
- Specified by:
isResidentin interfaceJoinMapLane<L,K, V>
-
isTransient
public final boolean isTransient()- Specified by:
isTransientin interfaceJoinMapLane<L,K, V>
-
isTransient
- Specified by:
isTransientin interfaceJoinMapLane<L,K, V>
-
willLoad
protected void willLoad()- Overrides:
willLoadin classAbstractTierBinding
-
close
public void close() -
observe
- Specified by:
observein interfaceJoinMapLane<L,K, V> - Specified by:
observein interfaceLane- Specified by:
observein interfaceObservable<L>- Specified by:
observein interfaceObservableMap<L,K> - Specified by:
observein interfaceWarpLane- Overrides:
observein classWarpLaneView
-
unobserve
- Specified by:
unobservein interfaceJoinMapLane<L,K, V> - Specified by:
unobservein interfaceLane- Specified by:
unobservein interfaceObservable<L>- Specified by:
unobservein interfaceObservableMap<L,K> - Specified by:
unobservein interfaceWarpLane- Overrides:
unobservein classWarpLaneView
-
willDownlink
- Specified by:
willDownlinkin interfaceJoinMapLane<L,K, V>
-
didDownlink
- Specified by:
didDownlinkin interfaceJoinMapLane<L,K, V>
-
willUpdate
- Specified by:
willUpdatein interfaceJoinMapLane<L,K, V> - Specified by:
willUpdatein interfaceObservableMap<L,K>
-
didUpdate
- Specified by:
didUpdatein interfaceJoinMapLane<L,K, V> - Specified by:
didUpdatein interfaceObservableMap<L,K>
-
willRemove
- Specified by:
willRemovein interfaceJoinMapLane<L,K, V> - Specified by:
willRemovein interfaceObservableMap<L,K>
-
didRemove
- Specified by:
didRemovein interfaceJoinMapLane<L,K, V> - Specified by:
didRemovein interfaceObservableMap<L,K>
-
willClear
- Specified by:
willClearin interfaceJoinMapLane<L,K, V> - Specified by:
willClearin interfaceObservableMap<L,K>
-
didClear
- Specified by:
didClearin interfaceJoinMapLane<L,K, V> - Specified by:
didClearin interfaceObservableMap<L,K>
-
willCommand
- Specified by:
willCommandin interfaceJoinMapLane<L,K, V> - Specified by:
willCommandin interfaceWarpLane- Specified by:
willCommandin classWarpLaneView
-
didCommand
- Specified by:
didCommandin interfaceJoinMapLane<L,K, V> - Specified by:
didCommandin interfaceWarpLane- Specified by:
didCommandin classWarpLaneView
-
willUplink
- Specified by:
willUplinkin interfaceJoinMapLane<L,K, V> - Specified by:
willUplinkin interfaceWarpLane- Specified by:
willUplinkin classWarpLaneView
-
didUplink
- Specified by:
didUplinkin interfaceJoinMapLane<L,K, V> - Specified by:
didUplinkin interfaceWarpLane- Specified by:
didUplinkin classWarpLaneView
-
willEnter
- Specified by:
willEnterin interfaceJoinMapLane<L,K, V> - Specified by:
willEnterin interfaceWarpLane- Specified by:
willEnterin classWarpLaneView
-
didEnter
- Specified by:
didEnterin interfaceJoinMapLane<L,K, V> - Specified by:
didEnterin interfaceWarpLane- Specified by:
didEnterin classWarpLaneView
-
willLeave
- Specified by:
willLeavein interfaceJoinMapLane<L,K, V> - Specified by:
willLeavein interfaceWarpLane- Specified by:
willLeavein classWarpLaneView
-
didLeave
- Specified by:
didLeavein interfaceJoinMapLane<L,K, V> - Specified by:
didLeavein interfaceWarpLane- Specified by:
didLeavein 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:
downlinkin interfaceJoinMapLane<L,K, V>
-
isEmpty
public boolean isEmpty() -
size
public int size() -
containsKey
- Specified by:
containsKeyin interfaceMap<L,K>
-
containsValue
- Specified by:
containsValuein interfaceMap<L,K>
-
get
-
getDownlink
- Specified by:
getDownlinkin interfaceJoinMapLane<L,K, V>
-
put
-
putAll
-
remove
-
clear
public void clear() -
entrySet
-
keySet
-
values
-
iterator
-
keyIterator
- Specified by:
keyIteratorin interfaceJoinMapLane<L,K, V>
-
valueIterator
- Specified by:
valueIteratorin interfaceJoinMapLane<L,K, V>
-
downlinkIterator
- Specified by:
downlinkIteratorin interfaceJoinMapLane<L,K, V>
-