- java.lang.Object
-
- swim.system.AbstractWarpRef
-
- swim.system.AbstractTierBinding
-
- swim.system.LaneModel<View,U>
-
- swim.system.warp.WarpLaneModel<JoinMapLaneView<?,?,?>,JoinMapLaneUplink>
-
- swim.system.lane.JoinMapLaneModel
-
- All Implemented Interfaces:
DownlinkFactory
,WarpRef
,CellBinding
,CellContext
,LaneBinding
,TierBinding
,Log
public class JoinMapLaneModel extends WarpLaneModel<JoinMapLaneView<?,?,?>,JoinMapLaneUplink>
-
-
Field Summary
Fields Modifier and Type Field Description protected MapData<Value,Value>
data
protected HashTrieMap<Value,JoinMapLaneDownlink<?,?>>
downlinks
protected int
flags
protected MapData<Value,Value>
linkData
-
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 JoinMapLaneModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear(JoinMapLaneDownlink<?,?> downlink)
void
clear(JoinMapLaneView<?,?,?> view)
protected void
closeDownlinkKey(Value key)
protected void
closeDownlinks()
protected JoinMapLaneUplink
createWarpUplink(WarpBinding link)
protected void
cueDownKey(Value key)
protected void
didOpenLaneView(JoinMapLaneView<?,?,?> view)
protected void
downlink(Value key, JoinMapLaneDownlink<?,?> downlink)
Value
get(Object key)
JoinMapLaneDownlink<?,?>
getDownlink(Object key)
boolean
isResident()
JoinMapLaneModel
isResident(boolean isResident)
boolean
isTransient()
JoinMapLaneModel
isTransient(boolean isTransient)
Iterator<Map.Entry<Value,Value>>
iterator()
Iterator<Value>
keyIterator()
String
laneType()
void
onCommand(Push<CommandMessage> push)
protected void
openDownlink(Value key, JoinMapLaneDownlink<?,?> downlink)
protected void
openDownlinks()
protected void
openStore()
void
put(JoinMapLaneDownlink<?,?> downlink, Value key, Value newValue)
<K,V>
Vput(JoinMapLaneView<?,K,V> view, K keyObject, V newObject)
void
remove(JoinMapLaneDownlink<?,?> downlink, Value key)
<K,V>
Vremove(JoinMapLaneView<?,K,V> view, K keyObject)
Iterator<Value>
valueIterator()
protected void
willLoad()
protected void
willStart()
-
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,JoinMapLaneDownlink<?,?>> downlinks
-
-
Method Detail
-
laneType
public String laneType()
-
createWarpUplink
protected JoinMapLaneUplink createWarpUplink(WarpBinding link)
- Specified by:
createWarpUplink
in classWarpLaneModel<JoinMapLaneView<?,?,?>,JoinMapLaneUplink>
-
openDownlinks
protected void openDownlinks()
-
downlink
protected void downlink(Value key, JoinMapLaneDownlink<?,?> downlink)
-
openDownlink
protected void openDownlink(Value key, JoinMapLaneDownlink<?,?> downlink)
-
closeDownlinks
protected void closeDownlinks()
-
closeDownlinkKey
protected void closeDownlinkKey(Value key)
-
didOpenLaneView
protected void didOpenLaneView(JoinMapLaneView<?,?,?> view)
- Specified by:
didOpenLaneView
in classLaneModel<JoinMapLaneView<?,?,?>,JoinMapLaneUplink>
-
onCommand
public void onCommand(Push<CommandMessage> push)
- Overrides:
onCommand
in classWarpLaneModel<JoinMapLaneView<?,?,?>,JoinMapLaneUplink>
-
cueDownKey
protected void cueDownKey(Value key)
-
isResident
public final boolean isResident()
-
isResident
public JoinMapLaneModel isResident(boolean isResident)
-
isTransient
public final boolean isTransient()
-
isTransient
public JoinMapLaneModel isTransient(boolean isTransient)
-
getDownlink
public JoinMapLaneDownlink<?,?> getDownlink(Object key)
-
put
public void put(JoinMapLaneDownlink<?,?> downlink, Value key, Value newValue)
-
put
public <K,V> V put(JoinMapLaneView<?,K,V> view, K keyObject, V newObject)
-
remove
public void remove(JoinMapLaneDownlink<?,?> downlink, Value key)
-
remove
public <K,V> V remove(JoinMapLaneView<?,K,V> view, K keyObject)
-
clear
public void clear(JoinMapLaneDownlink<?,?> downlink)
-
clear
public void clear(JoinMapLaneView<?,?,?> view)
-
openStore
protected void openStore()
-
willLoad
protected void willLoad()
- Overrides:
willLoad
in classLaneModel<JoinMapLaneView<?,?,?>,JoinMapLaneUplink>
-
willStart
protected void willStart()
- Overrides:
willStart
in classLaneModel<JoinMapLaneView<?,?,?>,JoinMapLaneUplink>
-
-