java.lang.Object
swim.actor.ActorCell
swim.actor.ActorTier
swim.actor.ActorLane
- All Implemented Interfaces:
swim.system.CellBinding,swim.system.CellContext,swim.system.LaneBinding,swim.system.LaneContext,swim.system.TierBinding,swim.system.TierContext,swim.util.Log
public class ActorLane
extends ActorTier
implements swim.system.LaneBinding, swim.system.LaneContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ActorNode<T> TbottomLane(Class<T> laneClass) final swim.system.LaneAddressfinal swim.system.CellBindingfinal swim.system.CellContextvoidcloseLaneView(swim.api.Lane lane) voidcloseUplink(swim.structure.Value linkKey) swim.util.LogcreateLog(swim.system.CellAddress cellAddress) swim.util.LogcreateLog(swim.system.LogDef logDef) swim.api.policy.PolicycreatePolicy(swim.system.CellAddress cellAddress) swim.api.policy.PolicycreatePolicy(swim.system.PolicyDef policyDef) swim.concurrent.StagecreateStage(swim.concurrent.StageDef stageDef) swim.concurrent.StagecreateStage(swim.system.CellAddress cellAddress) swim.store.StoreBindingcreateStore(swim.store.StoreDef storeDef) swim.store.StoreBindingcreateStore(swim.system.CellAddress cellAddress) voiddidClose()voidswim.api.LanegetLaneView(swim.api.agent.AgentContext agentContext) swim.system.LinkContextgetUplink(swim.structure.Value linkKey) swim.uri.UrihostUri()swim.api.auth.Identityidentity()swim.util.LoginjectLog(swim.util.Log log) swim.api.policy.PolicyinjectPolicy(swim.api.policy.Policy policy) swim.concurrent.StageinjectStage(swim.concurrent.Stage stage) swim.store.StoreBindinginjectStore(swim.store.StoreBinding store) booleanisLinked()final swim.system.LaneBindingfinal swim.system.LaneContextfinal swim.system.LaneDeflaneDef()laneType()swim.uri.UrilaneUri()final swim.system.LaneBindingfinal swim.system.NodeBindingnode()swim.uri.UrinodeUri()voidopenLaneView(swim.api.Lane lane) protected swim.util.LogopenLog()voidopenMetaDownlink(swim.system.LinkBinding downlink, swim.system.NodeBinding metaDownlink) voidopenMetaLane(swim.system.LaneBinding lane, swim.system.NodeBinding metaLane) voidopenMetaUplink(swim.system.LinkBinding uplink, swim.system.NodeBinding metaUplink) protected swim.api.policy.Policyprotected swim.concurrent.Stageprotected swim.store.StoreBindingswim.structure.ValuepartKey()voidpushUpCommand(swim.system.Push<swim.warp.CommandMessage> push) voidsetLaneContext(swim.system.LaneContext laneContext) <T> TunwrapLane(Class<T> laneClass) swim.collections.FingerTrieSeq<swim.system.LinkContext>uplinks()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, willUnloadMethods inherited from class swim.actor.ActorCell
bindDownlink, closeDownlink, closeLog, closePolicy, debug, edgeName, error, fail, info, meshUri, openDownlink, openUplink, policy, pushDown, pushUp, reportDown, trace, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface swim.system.CellBinding
openUplink, pushUpMethods inherited from interface swim.system.CellContext
bindDownlink, closeDownlink, openDownlink, policy, pushDown, reportDown, schedule, stage, storeMethods inherited from interface swim.system.LaneBinding
meshUri, reportDown, schedule, stage, storeMethods inherited from interface swim.system.LaneContext
edgeName, meshUriMethods inherited from interface swim.util.Log
debug, error, fail, info, trace, warnMethods inherited from interface swim.system.TierBinding
close, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, tierContext, unloadMethods inherited from interface swim.system.TierContext
close, didLoad, didOpen, didStart, didStop, didUnload, willClose, willLoad, willOpen, willStart, willStop, willUnload
-
Constructor Details
-
ActorLane
public ActorLane(swim.system.LaneBinding laneBinding, swim.system.LaneDef laneDef)
-
-
Method Details
-
laneDef
public final swim.system.LaneDef laneDef() -
actorNode
-
node
public final swim.system.NodeBinding node()- Specified by:
nodein interfaceswim.system.LaneBinding- Specified by:
nodein interfaceswim.system.LaneContext
-
laneWrapper
public final swim.system.LaneBinding laneWrapper()- Specified by:
laneWrapperin interfaceswim.system.LaneBinding- Specified by:
laneWrapperin interfaceswim.system.LaneContext
-
laneBinding
public final swim.system.LaneBinding laneBinding() -
laneContext
public final swim.system.LaneContext laneContext()- Specified by:
laneContextin interfaceswim.system.LaneBinding
-
setLaneContext
public void setLaneContext(swim.system.LaneContext laneContext) - Specified by:
setLaneContextin interfaceswim.system.LaneBinding
-
unwrapLane
- Specified by:
unwrapLanein interfaceswim.system.LaneBinding- Specified by:
unwrapLanein interfaceswim.system.LaneContext
-
bottomLane
- Specified by:
bottomLanein interfaceswim.system.LaneBinding- Specified by:
bottomLanein interfaceswim.system.LaneContext
-
cellBinding
public final swim.system.CellBinding cellBinding()- Specified by:
cellBindingin classActorCell
-
cellContext
public final swim.system.CellContext cellContext()- Specified by:
cellContextin classActorCell
-
cellAddress
public final swim.system.LaneAddress cellAddress()- Specified by:
cellAddressin interfaceswim.system.CellContext- Specified by:
cellAddressin interfaceswim.system.LaneBinding- Specified by:
cellAddressin interfaceswim.system.LaneContext- Specified by:
cellAddressin classActorCell
-
partKey
public swim.structure.Value partKey()- Specified by:
partKeyin interfaceswim.system.LaneBinding- Specified by:
partKeyin interfaceswim.system.LaneContext
-
hostUri
public swim.uri.Uri hostUri()- Specified by:
hostUriin interfaceswim.system.LaneBinding- Specified by:
hostUriin interfaceswim.system.LaneContext
-
nodeUri
public swim.uri.Uri nodeUri()- Specified by:
nodeUriin interfaceswim.system.LaneBinding- Specified by:
nodeUriin interfaceswim.system.LaneContext
-
laneUri
public swim.uri.Uri laneUri()- Specified by:
laneUriin interfaceswim.system.LaneBinding- Specified by:
laneUriin interfaceswim.system.LaneContext
-
laneType
- Specified by:
laneTypein interfaceswim.system.LaneBinding
-
identity
public swim.api.auth.Identity identity()- Specified by:
identityin interfaceswim.system.LaneContext
-
getLaneView
public swim.api.Lane getLaneView(swim.api.agent.AgentContext agentContext) - Specified by:
getLaneViewin interfaceswim.system.LaneBinding
-
openLaneView
public void openLaneView(swim.api.Lane lane) - Specified by:
openLaneViewin interfaceswim.system.LaneBinding
-
closeLaneView
public void closeLaneView(swim.api.Lane lane) - Specified by:
closeLaneViewin interfaceswim.system.LaneBinding
-
isLinked
public boolean isLinked()- Specified by:
isLinkedin interfaceswim.system.LaneBinding
-
uplinks
public swim.collections.FingerTrieSeq<swim.system.LinkContext> uplinks()- Specified by:
uplinksin interfaceswim.system.LaneBinding
-
getUplink
public swim.system.LinkContext getUplink(swim.structure.Value linkKey) - Specified by:
getUplinkin interfaceswim.system.LaneBinding
-
closeUplink
public void closeUplink(swim.structure.Value linkKey) - Specified by:
closeUplinkin interfaceswim.system.LaneBinding
-
pushUpCommand
public void pushUpCommand(swim.system.Push<swim.warp.CommandMessage> push) - Specified by:
pushUpCommandin interfaceswim.system.LaneBinding
-
createLog
public swim.util.Log createLog(swim.system.LogDef logDef) -
createLog
public swim.util.Log createLog(swim.system.CellAddress cellAddress) -
injectLog
public swim.util.Log injectLog(swim.util.Log log) -
openLog
protected swim.util.Log openLog() -
createPolicy
public swim.api.policy.Policy createPolicy(swim.system.PolicyDef policyDef) -
createPolicy
public swim.api.policy.Policy createPolicy(swim.system.CellAddress cellAddress) -
injectPolicy
public swim.api.policy.Policy injectPolicy(swim.api.policy.Policy policy) -
openPolicy
protected swim.api.policy.Policy openPolicy()- Overrides:
openPolicyin classActorCell
-
createStage
public swim.concurrent.Stage createStage(swim.concurrent.StageDef stageDef) -
createStage
public swim.concurrent.Stage createStage(swim.system.CellAddress cellAddress) -
injectStage
public swim.concurrent.Stage injectStage(swim.concurrent.Stage stage) -
openStage
protected swim.concurrent.Stage openStage() -
createStore
public swim.store.StoreBinding createStore(swim.store.StoreDef storeDef) -
createStore
public swim.store.StoreBinding createStore(swim.system.CellAddress cellAddress) -
injectStore
public swim.store.StoreBinding injectStore(swim.store.StoreBinding store) -
openStore
protected swim.store.StoreBinding openStore() -
openMetaLane
public void openMetaLane(swim.system.LaneBinding lane, swim.system.NodeBinding metaLane) - Specified by:
openMetaLanein interfaceswim.system.LaneBinding- Specified by:
openMetaLanein interfaceswim.system.LaneContext
-
openMetaUplink
public void openMetaUplink(swim.system.LinkBinding uplink, swim.system.NodeBinding metaUplink) - Specified by:
openMetaUplinkin interfaceswim.system.LaneBinding- Specified by:
openMetaUplinkin interfaceswim.system.LaneContext
-
openMetaDownlink
public void openMetaDownlink(swim.system.LinkBinding downlink, swim.system.NodeBinding metaDownlink) - Specified by:
openMetaDownlinkin interfaceswim.system.CellContext- Specified by:
openMetaDownlinkin interfaceswim.system.LaneBinding
-
didClose
public void didClose()- Specified by:
didClosein interfaceswim.system.TierBinding
-
didFail
- Specified by:
didFailin interfaceswim.system.TierBinding
-