java.lang.Object
swim.actor.ActorCell
swim.actor.ActorTier
swim.actor.ActorNode
- All Implemented Interfaces:
CellBinding
,CellContext
,NodeBinding
,NodeContext
,TierBinding
,TierContext
,Log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ActorHost
agentIds()
agents()
<T> T
bottomNode
(Class<T> nodeClass) final NodeAddress
final CellBinding
final CellContext
<A extends Agent>
AgentFactory<A>createAgentFactory
(NodeBinding node, Class<? extends A> agentClass) AgentFactory<?>
createAgentFactory
(NodeBinding node, AgentDef agentDef) long
createLane
(LaneAddress laneAddress) createLane
(NodeBinding node, LaneDef laneDef) createLog
(CellAddress cellAddress) createPolicy
(CellAddress cellAddress) createPolicy
(PolicyDef policyDef) createStage
(StageDef stageDef) createStage
(CellAddress cellAddress) createStore
(StoreDef storeDef) createStore
(CellAddress cellAddress) void
didClose()
void
getLaneDef
(LaneAddress laneAddress) final HostBinding
host()
hostUri()
identity()
injectLane
(LaneAddress laneAddress, LaneBinding lane) injectPolicy
(Policy policy) injectStage
(Stage stage) injectStore
(StoreBinding store) lanes()
final NodeBinding
final NodeContext
final NodeDef
nodeDef()
nodeUri()
final NodeBinding
void
openAgents
(NodeBinding node) openLane
(Uri laneUri, LaneBinding lane) void
openLanes
(NodeBinding node) protected Log
openLog()
void
openMetaDownlink
(LinkBinding downlink, NodeBinding metaDownlink) void
openMetaLane
(LaneBinding lane, NodeBinding metaLane) void
openMetaNode
(NodeBinding node, NodeBinding metaNode) void
openMetaUplink
(LinkBinding uplink, NodeBinding metaUplink) protected Policy
protected Stage
protected StoreBinding
partKey()
void
setNodeContext
(NodeContext nodeContext) <T> T
unwrapNode
(Class<T> nodeClass) 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.NodeBinding
meshUri
Methods inherited from interface swim.system.NodeContext
edgeName, meshUri
-
Constructor Details
-
ActorNode
-
-
Method Details
-
nodeDef
-
actorHost
-
host
- Specified by:
host
in interfaceNodeBinding
- Specified by:
host
in interfaceNodeContext
-
nodeWrapper
- Specified by:
nodeWrapper
in interfaceNodeBinding
- Specified by:
nodeWrapper
in interfaceNodeContext
-
nodeBinding
-
nodeContext
- Specified by:
nodeContext
in interfaceNodeBinding
-
setNodeContext
- Specified by:
setNodeContext
in interfaceNodeBinding
-
unwrapNode
- Specified by:
unwrapNode
in interfaceNodeBinding
- Specified by:
unwrapNode
in interfaceNodeContext
-
bottomNode
- Specified by:
bottomNode
in interfaceNodeBinding
- Specified by:
bottomNode
in interfaceNodeContext
-
cellBinding
- Specified by:
cellBinding
in classActorCell
-
cellContext
- Specified by:
cellContext
in classActorCell
-
cellAddress
- Specified by:
cellAddress
in interfaceCellContext
- Specified by:
cellAddress
in interfaceNodeBinding
- Specified by:
cellAddress
in interfaceNodeContext
- Specified by:
cellAddress
in classActorCell
-
partKey
- Specified by:
partKey
in interfaceNodeBinding
- Specified by:
partKey
in interfaceNodeContext
-
hostUri
- Specified by:
hostUri
in interfaceNodeBinding
- Specified by:
hostUri
in interfaceNodeContext
-
nodeUri
- Specified by:
nodeUri
in interfaceNodeBinding
- Specified by:
nodeUri
in interfaceNodeContext
-
createdTime
public long createdTime()- Specified by:
createdTime
in interfaceNodeBinding
- Specified by:
createdTime
in interfaceNodeContext
-
identity
- Specified by:
identity
in interfaceNodeContext
-
lanes
- Specified by:
lanes
in interfaceNodeBinding
-
getLane
- Specified by:
getLane
in interfaceNodeBinding
-
createLog
-
createLog
-
injectLog
-
openLog
-
createPolicy
-
createPolicy
-
injectPolicy
-
openPolicy
- Overrides:
openPolicy
in classActorCell
-
createStage
-
createStage
-
injectStage
-
openStage
-
createStore
-
createStore
-
injectStore
-
openStore
-
openMetaNode
- Specified by:
openMetaNode
in interfaceNodeBinding
- Specified by:
openMetaNode
in interfaceNodeContext
-
getLaneDef
-
openLane
- Specified by:
openLane
in interfaceNodeBinding
-
openLane
- Specified by:
openLane
in interfaceNodeBinding
-
createLane
- Specified by:
createLane
in interfaceNodeContext
-
injectLane
- Specified by:
injectLane
in interfaceNodeContext
-
openMetaLane
- Specified by:
openMetaLane
in interfaceNodeBinding
- Specified by:
openMetaLane
in interfaceNodeContext
-
openMetaUplink
- Specified by:
openMetaUplink
in interfaceNodeBinding
- Specified by:
openMetaUplink
in interfaceNodeContext
-
openMetaDownlink
- Specified by:
openMetaDownlink
in interfaceCellContext
-
createLane
- Specified by:
createLane
in interfaceNodeContext
-
openLanes
- Specified by:
openLanes
in interfaceNodeBinding
- Specified by:
openLanes
in interfaceNodeContext
-
agentIds
- Specified by:
agentIds
in interfaceNodeBinding
-
agents
- Specified by:
agents
in interfaceNodeBinding
-
openAgents
- Specified by:
openAgents
in interfaceNodeBinding
- Specified by:
openAgents
in interfaceNodeContext
-
createAgentFactory
- Specified by:
createAgentFactory
in interfaceNodeBinding
- Specified by:
createAgentFactory
in interfaceNodeContext
-
createAgentFactory
public <A extends Agent> AgentFactory<A> createAgentFactory(NodeBinding node, Class<? extends A> agentClass) - Specified by:
createAgentFactory
in interfaceNodeBinding
- Specified by:
createAgentFactory
in interfaceNodeContext
-
didClose
public void didClose()- Specified by:
didClose
in interfaceTierBinding
-
didFail
- Specified by:
didFail
in interfaceTierBinding
-