- java.lang.Object
-
- swim.runtime.AbstractSwimRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.LaneModel<View,U>
-
- swim.runtime.warp.WarpLaneModel<MapLaneView<?,?>,MapLaneUplink>
-
- swim.runtime.lane.MapLaneModel
-
- All Implemented Interfaces:
DownlinkFactory,SwimRef,CellBinding,CellContext,LaneBinding,TierBinding,Log
public class MapLaneModel extends WarpLaneModel<MapLaneView<?,?>,MapLaneUplink>
-
-
Field Summary
-
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 MapLaneModel()
-
Method Summary
Modifier and Type Method Description voidclear(MapLaneView<?,?> view)protected MapLaneUplinkcreateWarpUplink(WarpBinding link)protected voidcueDownKey(Value key)protected voiddidOpenLaneView(MapLaneView<?,?> view)voiddrop(MapLaneView<?,?> view, int lower)Valueget(Value key)booleanisResident()MapLaneModelisResident(boolean isResident)booleanisTransient()MapLaneModelisTransient(boolean isTransient)Iterator<Map.Entry<Value,Value>>iterator()Iterator<Value>keyIterator()StringlaneType()voidonCommand(Push<CommandMessage> push)protected voidopenStore()<K,V>
Vput(MapLaneView<K,V> view, K keyObject, V newObject)<K,V>
Vremove(MapLaneView<K,V> view, K keyObject)voidtake(MapLaneView<?,?> view, int upper)Iterator<Value>valueIterator()protected voidwillLoad()-
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, cellAddress, closeDownlink, closeLaneView, closeUplink, createUplinkAddress, debug, didCloseLaneView, didFail, edgeName, error, fail, getLaneView, getUplink, hostUri, info, 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, willStart, 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
-
-
-
-
Method Detail
-
laneType
public String laneType()
-
createWarpUplink
protected MapLaneUplink createWarpUplink(WarpBinding link)
- Specified by:
createWarpUplinkin classWarpLaneModel<MapLaneView<?,?>,MapLaneUplink>
-
didOpenLaneView
protected void didOpenLaneView(MapLaneView<?,?> view)
- Specified by:
didOpenLaneViewin classLaneModel<MapLaneView<?,?>,MapLaneUplink>
-
onCommand
public void onCommand(Push<CommandMessage> push)
- Overrides:
onCommandin classWarpLaneModel<MapLaneView<?,?>,MapLaneUplink>
-
cueDownKey
protected void cueDownKey(Value key)
-
isResident
public final boolean isResident()
-
isResident
public MapLaneModel isResident(boolean isResident)
-
isTransient
public final boolean isTransient()
-
isTransient
public MapLaneModel isTransient(boolean isTransient)
-
put
public <K,V> V put(MapLaneView<K,V> view, K keyObject, V newObject)
-
remove
public <K,V> V remove(MapLaneView<K,V> view, K keyObject)
-
drop
public void drop(MapLaneView<?,?> view, int lower)
-
take
public void take(MapLaneView<?,?> view, int upper)
-
clear
public void clear(MapLaneView<?,?> view)
-
openStore
protected void openStore()
-
willLoad
protected void willLoad()
- Overrides:
willLoadin classLaneModel<MapLaneView<?,?>,MapLaneUplink>
-
-