- java.lang.Object
-
- swim.runtime.AbstractSwimRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.LaneModel<View,U>
-
- swim.runtime.warp.WarpLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
- swim.runtime.lane.JoinValueLaneModel
-
- All Implemented Interfaces:
swim.api.downlink.DownlinkFactory,swim.api.ref.SwimRef,CellBinding,CellContext,LaneBinding,TierBinding,swim.util.Log
public class JoinValueLaneModel extends WarpLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.api.data.MapData<swim.structure.Value,swim.structure.Value>dataprotected swim.collections.HashTrieMap<swim.structure.Value,JoinValueLaneDownlink<?>>downlinksprotected intflags-
Fields inherited from class swim.runtime.warp.WarpLaneModel
EXEC_DELTA, EXEC_TIME
-
Fields inherited from class swim.runtime.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
Constructors Constructor Description JoinValueLaneModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear(JoinValueLaneView<?,?> view)protected voidcloseDownlinkKey(swim.structure.Value key)protected voidcloseDownlinks()protected JoinValueLaneUplinkcreateWarpUplink(WarpBinding link)protected voidcueDownKey(swim.structure.Value key)protected voiddidOpenLaneView(JoinValueLaneView<?,?> view)protected voiddownlink(swim.structure.Value key, JoinValueLaneDownlink<?> downlink)Set<Map.Entry<swim.structure.Value,swim.structure.Value>>entrySet()swim.structure.Valueget(Object key)JoinValueLaneDownlink<?>getDownlink(Object key)booleanisResident()JoinValueLaneModelisResident(boolean isResident)booleanisTransient()JoinValueLaneModelisTransient(boolean isTransient)Iterator<Map.Entry<swim.structure.Value,swim.structure.Value>>iterator()Iterator<swim.structure.Value>keyIterator()Set<swim.structure.Value>keySet()StringlaneType()voidonCommand(Push<swim.warp.CommandMessage> push)protected voidopenDownlink(swim.structure.Value key, JoinValueLaneDownlink<?> downlink)protected voidopenDownlinks()protected voidopenStore()voidput(JoinValueLaneDownlink<?> downlink, swim.structure.Value key, swim.structure.Value newValue)<K,V>
Vput(JoinValueLaneView<K,V> view, K keyObject, V newObject)<K,V>
Vremove(JoinValueLaneView<K,V> view, K keyObject)Iterator<swim.structure.Value>valueIterator()Collection<swim.structure.Value>values()protected voidwillLoad()protected voidwillStart()-
Methods inherited from class swim.runtime.warp.WarpLaneModel
accumulateExecTime, accumulateWarpDownlinkProfile, accumulateWarpUplinkProfile, collectProfile, createUplink, cueDown, didClose, didCloseUplink, didEnter, didLeave, didOpenUplink, didUpdateMetrics, flushMetrics, pushUp, pushUpCommand, reportDown, reportMetrics, sendDown
-
Methods inherited from class swim.runtime.LaneModel
bindDownlink, bottomLane, cellAddress, closeDownlink, closeLaneView, closeUplink, createUplinkAddress, debug, didCloseLaneView, didFail, edgeName, error, fail, getLaneView, getUplink, hostUri, info, isLinked, laneContext, laneUri, laneWrapper, meshUri, node, nodeUri, openDownlink, openLaneView, openMetaDownlink, openMetaLane, openMetaLanes, openMetaUplink, openReflectLanes, openUplink, partKey, policy, pushDown, schedule, setLaneContext, stage, store, tierContext, trace, unwrapLane, uplinks, warn, willClose, willOpen, willStop, willUnload
-
Methods inherited from class swim.runtime.AbstractTierBinding
activate, close, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload
-
Methods inherited from class swim.runtime.AbstractSwimRef
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
-
-
-
-
Field Detail
-
flags
protected int flags
-
data
protected swim.api.data.MapData<swim.structure.Value,swim.structure.Value> data
-
downlinks
protected volatile swim.collections.HashTrieMap<swim.structure.Value,JoinValueLaneDownlink<?>> downlinks
-
-
Method Detail
-
laneType
public String laneType()
-
createWarpUplink
protected JoinValueLaneUplink createWarpUplink(WarpBinding link)
- Specified by:
createWarpUplinkin classWarpLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
openDownlinks
protected void openDownlinks()
-
downlink
protected void downlink(swim.structure.Value key, JoinValueLaneDownlink<?> downlink)
-
openDownlink
protected void openDownlink(swim.structure.Value key, JoinValueLaneDownlink<?> downlink)
-
closeDownlinks
protected void closeDownlinks()
-
closeDownlinkKey
protected void closeDownlinkKey(swim.structure.Value key)
-
didOpenLaneView
protected void didOpenLaneView(JoinValueLaneView<?,?> view)
- Specified by:
didOpenLaneViewin classLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
onCommand
public void onCommand(Push<swim.warp.CommandMessage> push)
- Overrides:
onCommandin classWarpLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
cueDownKey
protected void cueDownKey(swim.structure.Value key)
-
isResident
public final boolean isResident()
-
isResident
public JoinValueLaneModel isResident(boolean isResident)
-
isTransient
public final boolean isTransient()
-
isTransient
public JoinValueLaneModel isTransient(boolean isTransient)
-
get
public swim.structure.Value get(Object key)
-
getDownlink
public JoinValueLaneDownlink<?> getDownlink(Object key)
-
put
public void put(JoinValueLaneDownlink<?> downlink, swim.structure.Value key, swim.structure.Value newValue)
-
put
public <K,V> V put(JoinValueLaneView<K,V> view, K keyObject, V newObject)
-
remove
public <K,V> V remove(JoinValueLaneView<K,V> view, K keyObject)
-
clear
public void clear(JoinValueLaneView<?,?> view)
-
keyIterator
public Iterator<swim.structure.Value> keyIterator()
-
valueIterator
public Iterator<swim.structure.Value> valueIterator()
-
keySet
public Set<swim.structure.Value> keySet()
-
values
public Collection<swim.structure.Value> values()
-
openStore
protected void openStore()
-
willLoad
protected void willLoad()
- Overrides:
willLoadin classLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
willStart
protected void willStart()
- Overrides:
willStartin classLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
-