- java.lang.Object
-
- swim.runtime.AbstractSwimRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.LaneView
-
- swim.runtime.warp.WarpLaneView
-
- swim.runtime.lane.DemandMapLaneView<K,V>
-
- All Implemented Interfaces:
swim.api.downlink.DownlinkFactory,swim.api.Lane,swim.api.lane.DemandMapLane<K,V>,swim.api.ref.SwimRef,swim.api.warp.WarpLane,swim.observable.Observable<Object>,CellContext,TierBinding,swim.util.Log
public class DemandMapLaneView<K,V> extends WarpLaneView implements swim.api.lane.DemandMapLane<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.api.agent.AgentContextagentContextprotected swim.structure.Form<K>keyFormprotected DemandMapLaneModellaneBindingprotected swim.structure.Form<V>valueForm-
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 DemandMapLaneView(swim.api.agent.AgentContext agentContext, swim.structure.Form<K> keyForm, swim.structure.Form<V> valueForm)DemandMapLaneView(swim.api.agent.AgentContext agentContext, swim.structure.Form<K> keyForm, swim.structure.Form<V> valueForm, Object observers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description swim.api.agent.AgentContextagentContext()voidclose()DemandMapLaneModelcreateLaneBinding()voidcue(K key)DemandMapLaneView<K,V>didCommand(swim.api.warp.function.DidCommand didCommand)DemandMapLaneView<K,V>didEnter(swim.api.warp.function.DidEnter didEnter)DemandMapLaneView<K,V>didLeave(swim.api.warp.function.DidLeave didLeave)DemandMapLaneView<K,V>didUplink(swim.api.warp.function.DidUplink didUplink)VdispatchOnCue(K key, swim.api.warp.WarpUplink uplink)Iterator<K>dispatchOnSync(swim.api.warp.WarpUplink uplink)<K2> DemandMapLaneView<K2,V>keyClass(Class<K2> keyClass)swim.structure.Form<K>keyForm()<K2> DemandMapLaneView<K2,V>keyForm(swim.structure.Form<K2> keyForm)DemandMapLaneModellaneBinding()DemandMapLaneView<K,V>observe(Object observer)DemandMapLaneView<K,V>onCue(swim.api.lane.function.OnCueKey<K,V> onCue)DemandMapLaneView<K,V>onSync(swim.api.lane.function.OnSyncKeys<K> onSync)voidremove(K key)voidsetKeyForm(swim.structure.Form<K> keyForm)voidsetValueForm(swim.structure.Form<V> valueForm)protected ObjecttypesafeObservers(Object observers)DemandMapLaneView<K,V>unobserve(Object observer)<V2> DemandMapLaneView<K,V2>valueClass(Class<V2> valueClass)swim.structure.Form<V>valueForm()<V2> DemandMapLaneView<K,V2>valueForm(swim.structure.Form<V2> valueForm)DemandMapLaneView<K,V>willCommand(swim.api.warp.function.WillCommand willCommand)DemandMapLaneView<K,V>willEnter(swim.api.warp.function.WillEnter willEnter)DemandMapLaneView<K,V>willLeave(swim.api.warp.function.WillLeave willLeave)DemandMapLaneView<K,V>willUplink(swim.api.warp.function.WillUplink willUplink)-
Methods inherited from class swim.runtime.warp.WarpLaneView
dispatchDidCommand, dispatchDidEnter, dispatchDidLeave, dispatchDidUplink, dispatchWillCommand, dispatchWillEnter, dispatchWillLeave, dispatchWillUplink, laneDidCommand, laneDidEnter, laneDidLeave, laneDidUplink, laneWillCommand, laneWillEnter, laneWillLeave, laneWillUplink
-
Methods inherited from class swim.runtime.LaneView
bindDownlink, bottomLane, cellAddress, closeDownlink, debug, edgeName, error, fail, hostUri, info, laneContext, laneDidFail, laneUri, meshUri, nodeUri, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store, tierContext, trace, unwrapLane, warn
-
Methods inherited from class swim.runtime.AbstractTierBinding
activate, didClose, didFail, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload, willClose, willLoad, willOpen, willStart, willStop, willUnload
-
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
-
-
-
-
Field Detail
-
agentContext
protected final swim.api.agent.AgentContext agentContext
-
keyForm
protected swim.structure.Form<K> keyForm
-
valueForm
protected swim.structure.Form<V> valueForm
-
laneBinding
protected DemandMapLaneModel laneBinding
-
-
Method Detail
-
agentContext
public swim.api.agent.AgentContext agentContext()
- Specified by:
agentContextin classLaneView
-
laneBinding
public DemandMapLaneModel laneBinding()
- Specified by:
laneBindingin classLaneView
-
createLaneBinding
public DemandMapLaneModel createLaneBinding()
- Specified by:
createLaneBindingin classLaneView
-
keyForm
public final swim.structure.Form<K> keyForm()
-
keyForm
public <K2> DemandMapLaneView<K2,V> keyForm(swim.structure.Form<K2> keyForm)
-
keyClass
public <K2> DemandMapLaneView<K2,V> keyClass(Class<K2> keyClass)
-
setKeyForm
public void setKeyForm(swim.structure.Form<K> keyForm)
-
valueForm
public final swim.structure.Form<V> valueForm()
-
valueForm
public <V2> DemandMapLaneView<K,V2> valueForm(swim.structure.Form<V2> valueForm)
-
valueClass
public <V2> DemandMapLaneView<K,V2> valueClass(Class<V2> valueClass)
-
setValueForm
public void setValueForm(swim.structure.Form<V> valueForm)
-
close
public void close()
- Specified by:
closein interfaceswim.api.Lane- Specified by:
closein interfaceswim.api.ref.SwimRef- Specified by:
closein interfaceTierBinding- Specified by:
closein classLaneView
-
observe
public DemandMapLaneView<K,V> observe(Object observer)
- Specified by:
observein interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
observein interfaceswim.api.Lane- Specified by:
observein interfaceswim.observable.Observable<K>- Specified by:
observein interfaceswim.api.warp.WarpLane- Overrides:
observein classWarpLaneView
-
unobserve
public DemandMapLaneView<K,V> unobserve(Object observer)
- Specified by:
unobservein interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
unobservein interfaceswim.api.Lane- Specified by:
unobservein interfaceswim.observable.Observable<K>- Specified by:
unobservein interfaceswim.api.warp.WarpLane- Overrides:
unobservein classWarpLaneView
-
onCue
public DemandMapLaneView<K,V> onCue(swim.api.lane.function.OnCueKey<K,V> onCue)
-
onSync
public DemandMapLaneView<K,V> onSync(swim.api.lane.function.OnSyncKeys<K> onSync)
-
willCommand
public DemandMapLaneView<K,V> willCommand(swim.api.warp.function.WillCommand willCommand)
- Specified by:
willCommandin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
willCommandin interfaceswim.api.warp.WarpLane- Specified by:
willCommandin classWarpLaneView
-
didCommand
public DemandMapLaneView<K,V> didCommand(swim.api.warp.function.DidCommand didCommand)
- Specified by:
didCommandin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
didCommandin interfaceswim.api.warp.WarpLane- Specified by:
didCommandin classWarpLaneView
-
willUplink
public DemandMapLaneView<K,V> willUplink(swim.api.warp.function.WillUplink willUplink)
- Specified by:
willUplinkin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
willUplinkin interfaceswim.api.warp.WarpLane- Specified by:
willUplinkin classWarpLaneView
-
didUplink
public DemandMapLaneView<K,V> didUplink(swim.api.warp.function.DidUplink didUplink)
- Specified by:
didUplinkin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
didUplinkin interfaceswim.api.warp.WarpLane- Specified by:
didUplinkin classWarpLaneView
-
willEnter
public DemandMapLaneView<K,V> willEnter(swim.api.warp.function.WillEnter willEnter)
- Specified by:
willEnterin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
willEnterin interfaceswim.api.warp.WarpLane- Specified by:
willEnterin classWarpLaneView
-
didEnter
public DemandMapLaneView<K,V> didEnter(swim.api.warp.function.DidEnter didEnter)
- Specified by:
didEnterin interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
didEnterin interfaceswim.api.warp.WarpLane- Specified by:
didEnterin classWarpLaneView
-
willLeave
public DemandMapLaneView<K,V> willLeave(swim.api.warp.function.WillLeave willLeave)
- Specified by:
willLeavein interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
willLeavein interfaceswim.api.warp.WarpLane- Specified by:
willLeavein classWarpLaneView
-
didLeave
public DemandMapLaneView<K,V> didLeave(swim.api.warp.function.DidLeave didLeave)
- Specified by:
didLeavein interfaceswim.api.lane.DemandMapLane<K,V>- Specified by:
didLeavein interfaceswim.api.warp.WarpLane- Specified by:
didLeavein classWarpLaneView
-
-