- java.lang.Object
-
- swim.system.scope.Scope
-
- All Implemented Interfaces:
CellContext
,Log
public abstract class Scope extends Object implements CellContext
-
-
Field Summary
Fields Modifier and Type Field Description protected CellContext
cellContext
protected Stage
stage
-
Constructor Summary
Constructors Constructor Description Scope(CellContext cellContext)
Scope(CellContext cellContext, Stage stage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkBinding
bindDownlink(Downlink downlink)
CellAddress
cellAddress()
CellContext
cellContext()
void
close()
void
closeDownlink(LinkBinding link)
void
debug(Object message)
Logs a debug-level message.String
edgeName()
void
error(Object message)
Logs an error-level message.void
fail(Object message)
Logs an fail-level message.void
info(Object message)
Logs an info-level message.void
openDownlink(LinkBinding link)
void
openMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink)
Policy
policy()
void
pushDown(Push<?> push)
void
reportDown(Metric metric)
Schedule
schedule()
Stage
stage()
StoreBinding
store()
void
trace(Object message)
Logs a trace-level message.void
warn(Object message)
Logs a warn-level message.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.system.CellContext
meshUri
-
-
-
-
Field Detail
-
cellContext
protected final CellContext cellContext
-
stage
protected final Stage stage
-
-
Constructor Detail
-
Scope
public Scope(CellContext cellContext, Stage stage)
-
Scope
public Scope(CellContext cellContext)
-
-
Method Detail
-
cellContext
public final CellContext cellContext()
-
cellAddress
public CellAddress cellAddress()
- Specified by:
cellAddress
in interfaceCellContext
-
edgeName
public String edgeName()
- Specified by:
edgeName
in interfaceCellContext
-
policy
public Policy policy()
- Specified by:
policy
in interfaceCellContext
-
schedule
public Schedule schedule()
- Specified by:
schedule
in interfaceCellContext
-
stage
public final Stage stage()
- Specified by:
stage
in interfaceCellContext
-
store
public StoreBinding store()
- Specified by:
store
in interfaceCellContext
-
bindDownlink
public LinkBinding bindDownlink(Downlink downlink)
- Specified by:
bindDownlink
in interfaceCellContext
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlink
in interfaceCellContext
-
closeDownlink
public void closeDownlink(LinkBinding link)
- Specified by:
closeDownlink
in interfaceCellContext
-
openMetaDownlink
public void openMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink)
- Specified by:
openMetaDownlink
in interfaceCellContext
-
pushDown
public void pushDown(Push<?> push)
- Specified by:
pushDown
in interfaceCellContext
-
reportDown
public void reportDown(Metric metric)
- Specified by:
reportDown
in interfaceCellContext
-
trace
public void trace(Object message)
Description copied from interface:Log
Logs a trace-level message.
-
debug
public void debug(Object message)
Description copied from interface:Log
Logs a debug-level message.
-
info
public void info(Object message)
Description copied from interface:Log
Logs an info-level message.
-
warn
public void warn(Object message)
Description copied from interface:Log
Logs a warn-level message.
-
error
public void error(Object message)
Description copied from interface:Log
Logs an error-level message.
-
fail
public void fail(Object message)
Description copied from interface:Log
Logs an fail-level message.
-
close
public void close()
-
-