- java.lang.Object
-
- swim.actor.ActorCell
-
- swim.actor.ActorTier
-
- swim.actor.ActorLane
-
- All Implemented Interfaces:
CellBinding
,CellContext
,LaneBinding
,LaneContext
,TierBinding
,TierContext
,Log
public class ActorLane extends ActorTier implements LaneBinding, LaneContext
-
-
Constructor Summary
Constructors Constructor Description ActorLane(LaneBinding laneBinding, LaneDef laneDef)
-
Method Summary
-
Methods inherited from class swim.actor.ActorTier
close, closeStage, closeStore, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, schedule, stage, start, stop, store, tierContext, unload, willClose, willLoad, willOpen, willStart, willStop, willUnload
-
Methods inherited from class swim.actor.ActorCell
bindDownlink, closeDownlink, closeLog, closePolicy, debug, edgeName, error, fail, info, meshUri, openDownlink, openUplink, policy, pushDown, pushUp, reportDown, trace, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.system.CellBinding
openUplink, pushUp
-
Methods inherited from interface swim.system.CellContext
bindDownlink, closeDownlink, openDownlink, policy, pushDown, reportDown, schedule, stage, store
-
Methods inherited from interface swim.system.LaneBinding
meshUri, reportDown, schedule, stage, store
-
Methods inherited from interface swim.system.LaneContext
edgeName, meshUri
-
-
-
-
Constructor Detail
-
ActorLane
public ActorLane(LaneBinding laneBinding, LaneDef laneDef)
-
-
Method Detail
-
laneDef
public final LaneDef laneDef()
-
actorNode
public final ActorNode actorNode()
-
node
public final NodeBinding node()
- Specified by:
node
in interfaceLaneBinding
- Specified by:
node
in interfaceLaneContext
-
laneWrapper
public final LaneBinding laneWrapper()
- Specified by:
laneWrapper
in interfaceLaneBinding
- Specified by:
laneWrapper
in interfaceLaneContext
-
laneBinding
public final LaneBinding laneBinding()
-
laneContext
public final LaneContext laneContext()
- Specified by:
laneContext
in interfaceLaneBinding
-
setLaneContext
public void setLaneContext(LaneContext laneContext)
- Specified by:
setLaneContext
in interfaceLaneBinding
-
unwrapLane
public <T> T unwrapLane(Class<T> laneClass)
- Specified by:
unwrapLane
in interfaceLaneBinding
- Specified by:
unwrapLane
in interfaceLaneContext
-
bottomLane
public <T> T bottomLane(Class<T> laneClass)
- Specified by:
bottomLane
in interfaceLaneBinding
- Specified by:
bottomLane
in interfaceLaneContext
-
cellBinding
public final CellBinding cellBinding()
- Specified by:
cellBinding
in classActorCell
-
cellContext
public final CellContext cellContext()
- Specified by:
cellContext
in classActorCell
-
cellAddress
public final LaneAddress cellAddress()
- Specified by:
cellAddress
in interfaceCellContext
- Specified by:
cellAddress
in interfaceLaneBinding
- Specified by:
cellAddress
in interfaceLaneContext
- Specified by:
cellAddress
in classActorCell
-
partKey
public Value partKey()
- Specified by:
partKey
in interfaceLaneBinding
- Specified by:
partKey
in interfaceLaneContext
-
hostUri
public Uri hostUri()
- Specified by:
hostUri
in interfaceLaneBinding
- Specified by:
hostUri
in interfaceLaneContext
-
nodeUri
public Uri nodeUri()
- Specified by:
nodeUri
in interfaceLaneBinding
- Specified by:
nodeUri
in interfaceLaneContext
-
laneUri
public Uri laneUri()
- Specified by:
laneUri
in interfaceLaneBinding
- Specified by:
laneUri
in interfaceLaneContext
-
laneType
public String laneType()
- Specified by:
laneType
in interfaceLaneBinding
-
identity
public Identity identity()
- Specified by:
identity
in interfaceLaneContext
-
getLaneView
public Lane getLaneView(AgentContext agentContext)
- Specified by:
getLaneView
in interfaceLaneBinding
-
openLaneView
public void openLaneView(Lane lane)
- Specified by:
openLaneView
in interfaceLaneBinding
-
closeLaneView
public void closeLaneView(Lane lane)
- Specified by:
closeLaneView
in interfaceLaneBinding
-
isLinked
public boolean isLinked()
- Specified by:
isLinked
in interfaceLaneBinding
-
uplinks
public FingerTrieSeq<LinkContext> uplinks()
- Specified by:
uplinks
in interfaceLaneBinding
-
getUplink
public LinkContext getUplink(Value linkKey)
- Specified by:
getUplink
in interfaceLaneBinding
-
closeUplink
public void closeUplink(Value linkKey)
- Specified by:
closeUplink
in interfaceLaneBinding
-
pushUpCommand
public void pushUpCommand(Push<CommandMessage> push)
- Specified by:
pushUpCommand
in interfaceLaneBinding
-
createLog
public Log createLog(CellAddress cellAddress)
-
createPolicy
public Policy createPolicy(CellAddress cellAddress)
-
openPolicy
protected Policy openPolicy()
- Overrides:
openPolicy
in classActorCell
-
createStage
public Stage createStage(CellAddress cellAddress)
-
createStore
public StoreBinding createStore(StoreDef storeDef)
-
createStore
public StoreBinding createStore(CellAddress cellAddress)
-
injectStore
public StoreBinding injectStore(StoreBinding store)
-
openStore
protected StoreBinding openStore()
-
openMetaLane
public void openMetaLane(LaneBinding lane, NodeBinding metaLane)
- Specified by:
openMetaLane
in interfaceLaneBinding
- Specified by:
openMetaLane
in interfaceLaneContext
-
openMetaUplink
public void openMetaUplink(LinkBinding uplink, NodeBinding metaUplink)
- Specified by:
openMetaUplink
in interfaceLaneBinding
- Specified by:
openMetaUplink
in interfaceLaneContext
-
openMetaDownlink
public void openMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink)
- Specified by:
openMetaDownlink
in interfaceCellContext
- Specified by:
openMetaDownlink
in interfaceLaneBinding
-
didClose
public void didClose()
- Specified by:
didClose
in interfaceTierBinding
-
didFail
public void didFail(Throwable error)
- Specified by:
didFail
in interfaceTierBinding
-
-