- java.lang.Object
-
- swim.system.AbstractWarpRef
-
- swim.system.AbstractTierBinding
-
- swim.system.LaneModel<View,U>
-
- swim.system.warp.WarpLaneModel<SpatialLaneView<?,S,?>,SpatialLaneUplink<S>>
-
- swim.system.lane.SpatialLaneModel<S>
-
- All Implemented Interfaces:
DownlinkFactory
,WarpRef
,CellBinding
,CellContext
,LaneBinding
,TierBinding
,Log
public class SpatialLaneModel<S> extends WarpLaneModel<SpatialLaneView<?,S,?>,SpatialLaneUplink<S>>
-
-
Field Summary
Fields Modifier and Type Field Description protected SpatialData<Value,S,Value>
data
protected int
flags
protected Z2Form<S>
shapeForm
-
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 SpatialLaneModel(Z2Form<S> shapeForm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear(SpatialLaneView<?,S,?> view)
protected SpatialLaneUplink<S>
createWarpUplink(WarpBinding link)
protected void
cueDownKey(Value key)
protected void
didOpenLaneView(SpatialLaneView<?,S,?> view)
Value
get(Value key)
boolean
isResident()
SpatialLaneModel<S>
isResident(boolean isResident)
boolean
isTransient()
SpatialLaneModel<S>
isTransient(boolean isTransient)
Iterator<SpatialMap.Entry<Value,S,Value>>
iterator()
Iterator<SpatialMap.Entry<Value,S,Value>>
iterator(S shape)
Iterator<Value>
keyIterator()
String
laneType()
<K,V>
Vmove(SpatialLaneView<K,S,V> view, K keyObject, S oldShapeObject, S newShapeObject, V newObject)
void
onCommand(Push<CommandMessage> push)
protected void
openStore()
<K,V>
Vput(SpatialLaneView<K,S,V> view, K keyObject, S shapeObject, V newObject)
<K,V>
Vremove(SpatialLaneView<K,S,V> view, K keyObject, S shapeObject)
Iterator<Value>
valueIterator()
protected void
willLoad()
-
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, willStart, 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
-
-
-
-
Method Detail
-
laneType
public String laneType()
-
createWarpUplink
protected SpatialLaneUplink<S> createWarpUplink(WarpBinding link)
- Specified by:
createWarpUplink
in classWarpLaneModel<SpatialLaneView<?,S,?>,SpatialLaneUplink<S>>
-
onCommand
public void onCommand(Push<CommandMessage> push)
- Overrides:
onCommand
in classWarpLaneModel<SpatialLaneView<?,S,?>,SpatialLaneUplink<S>>
-
cueDownKey
protected void cueDownKey(Value key)
-
didOpenLaneView
protected void didOpenLaneView(SpatialLaneView<?,S,?> view)
- Specified by:
didOpenLaneView
in classLaneModel<SpatialLaneView<?,S,?>,SpatialLaneUplink<S>>
-
isResident
public final boolean isResident()
-
isResident
public SpatialLaneModel<S> isResident(boolean isResident)
-
isTransient
public final boolean isTransient()
-
isTransient
public SpatialLaneModel<S> isTransient(boolean isTransient)
-
put
public <K,V> V put(SpatialLaneView<K,S,V> view, K keyObject, S shapeObject, V newObject)
-
move
public <K,V> V move(SpatialLaneView<K,S,V> view, K keyObject, S oldShapeObject, S newShapeObject, V newObject)
-
remove
public <K,V> V remove(SpatialLaneView<K,S,V> view, K keyObject, S shapeObject)
-
clear
public void clear(SpatialLaneView<?,S,?> view)
-
iterator
public Iterator<SpatialMap.Entry<Value,S,Value>> iterator()
-
openStore
protected void openStore()
-
willLoad
protected void willLoad()
- Overrides:
willLoad
in classLaneModel<SpatialLaneView<?,S,?>,SpatialLaneUplink<S>>
-
-