- java.lang.Object
-
- swim.system.AbstractWarpRef
-
- swim.system.AbstractTierBinding
-
- swim.system.LaneModel<View,U>
-
- swim.system.warp.WarpLaneModel<ListLaneView<?>,ListLaneUplink>
-
- swim.system.lane.ListLaneModel
-
- All Implemented Interfaces:
DownlinkFactory,WarpRef,CellBinding,CellContext,LaneBinding,TierBinding,Log
public class ListLaneModel extends WarpLaneModel<ListLaneView<?>,ListLaneUplink>
-
-
Field Summary
Fields Modifier and Type Field Description protected ListData<Value>dataprotected intflags-
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 ListLaneModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> booleanadd(ListLaneView<V> view, int index, V newObject)<V> booleanadd(ListLaneView<V> view, int index, V newObject, Object key)voidclear(ListLaneView<?> view)protected ListLaneUplinkcreateWarpUplink(WarpBinding link)protected voiddidOpenLaneView(ListLaneView<?> view)voiddrop(ListLaneView<?> view, int lower)booleanisResident()ListLaneModelisResident(boolean isResident)booleanisTransient()ListLaneModelisTransient(boolean isTransient)ListIterator<Map.Entry<Object,Value>>iterator()StringlaneType()voidmove(int fromIndex, int toIndex)voidmove(int fromIndex, int toIndex, Object key)voidonCommand(Push<CommandMessage> push)protected voidopenStore()<V> Vremove(ListLaneView<V> view, int index)<V> Vremove(ListLaneView<V> view, int index, Object key)protected voidsendDown(ListLinkDelta delta)<V> Vset(ListLaneView<V> view, int index, V newObject)<V> Vset(ListLaneView<V> view, int index, V newObject, Object key)voidtake(ListLaneView<?> view, int upper)protected voidwillLoad()-
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 ListLaneUplink createWarpUplink(WarpBinding link)
- Specified by:
createWarpUplinkin classWarpLaneModel<ListLaneView<?>,ListLaneUplink>
-
didOpenLaneView
protected void didOpenLaneView(ListLaneView<?> view)
- Specified by:
didOpenLaneViewin classLaneModel<ListLaneView<?>,ListLaneUplink>
-
onCommand
public void onCommand(Push<CommandMessage> push)
- Overrides:
onCommandin classWarpLaneModel<ListLaneView<?>,ListLaneUplink>
-
sendDown
protected void sendDown(ListLinkDelta delta)
-
isResident
public final boolean isResident()
-
isResident
public ListLaneModel isResident(boolean isResident)
-
isTransient
public final boolean isTransient()
-
isTransient
public ListLaneModel isTransient(boolean isTransient)
-
add
public <V> boolean add(ListLaneView<V> view, int index, V newObject)
-
add
public <V> boolean add(ListLaneView<V> view, int index, V newObject, Object key)
-
set
public <V> V set(ListLaneView<V> view, int index, V newObject)
-
set
public <V> V set(ListLaneView<V> view, int index, V newObject, Object key)
-
move
public void move(int fromIndex, int toIndex)
-
move
public void move(int fromIndex, int toIndex, Object key)
-
remove
public <V> V remove(ListLaneView<V> view, int index)
-
remove
public <V> V remove(ListLaneView<V> view, int index, Object key)
-
drop
public void drop(ListLaneView<?> view, int lower)
-
take
public void take(ListLaneView<?> view, int upper)
-
clear
public void clear(ListLaneView<?> view)
-
iterator
public ListIterator<Map.Entry<Object,Value>> iterator()
-
openStore
protected void openStore()
-
willLoad
protected void willLoad()
- Overrides:
willLoadin classLaneModel<ListLaneView<?>,ListLaneUplink>
-
-