- java.lang.Object
-
- swim.system.AbstractWarpRef
-
- swim.system.AbstractTierBinding
-
- swim.system.LaneModel<View,U>
-
- swim.system.warp.WarpLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
- swim.system.lane.JoinValueLaneModel
-
- All Implemented Interfaces:
DownlinkFactory
,WarpRef
,CellBinding
,CellContext
,LaneBinding
,TierBinding
,Log
public class JoinValueLaneModel extends WarpLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
-
Field Summary
Fields Modifier and Type Field Description protected MapData<Value,Value>
data
protected HashTrieMap<Value,JoinValueLaneDownlink<?>>
downlinks
protected int
flags
-
Fields inherited from class swim.system.warp.WarpLaneModel
EXEC_DELTA, EXEC_TIME
-
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
Constructors Constructor Description JoinValueLaneModel()
-
Method Summary
-
Methods inherited from class swim.system.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.system.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.system.AbstractTierBinding
activate, awaitStart, close, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload
-
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
-
-
-
-
Field Detail
-
flags
protected int flags
-
downlinks
protected volatile HashTrieMap<Value,JoinValueLaneDownlink<?>> downlinks
-
-
Method Detail
-
laneType
public String laneType()
-
createWarpUplink
protected JoinValueLaneUplink createWarpUplink(WarpBinding link)
- Specified by:
createWarpUplink
in classWarpLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
openDownlinks
protected void openDownlinks()
-
downlink
protected void downlink(Value key, JoinValueLaneDownlink<?> downlink)
-
openDownlink
protected void openDownlink(Value key, JoinValueLaneDownlink<?> downlink)
-
closeDownlinks
protected void closeDownlinks()
-
closeDownlinkKey
protected void closeDownlinkKey(Value key)
-
didOpenLaneView
protected void didOpenLaneView(JoinValueLaneView<?,?> view)
- Specified by:
didOpenLaneView
in classLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
onCommand
public void onCommand(Push<CommandMessage> push)
- Overrides:
onCommand
in classWarpLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
cueDownKey
protected void cueDownKey(Value key)
-
isResident
public final boolean isResident()
-
isResident
public JoinValueLaneModel isResident(boolean isResident)
-
isTransient
public final boolean isTransient()
-
isTransient
public JoinValueLaneModel isTransient(boolean isTransient)
-
getDownlink
public JoinValueLaneDownlink<?> getDownlink(Object key)
-
put
public void put(JoinValueLaneDownlink<?> downlink, Value key, 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)
-
values
public Collection<Value> values()
-
openStore
protected void openStore()
-
willLoad
protected void willLoad()
- Overrides:
willLoad
in classLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
willStart
protected void willStart()
- Overrides:
willStart
in classLaneModel<JoinValueLaneView<?,?>,JoinValueLaneUplink>
-
-