- java.lang.Object
-
- swim.runtime.scope.Scope
-
- All Implemented Interfaces:
CellContext,Log
public abstract class Scope extends Object implements CellContext
-
-
Field Summary
Fields Modifier and Type Field Description protected CellContextcellContextprotected Stagestage
-
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 LinkBindingbindDownlink(Downlink downlink)CellAddresscellAddress()CellContextcellContext()voidclose()voidcloseDownlink(LinkBinding link)voiddebug(Object message)Logs a debug-level message.StringedgeName()voiderror(Object message)Logs an error-level message.voidfail(Object message)Logs an fail-level message.voidinfo(Object message)Logs an info-level message.voidopenDownlink(LinkBinding link)voidopenMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink)Policypolicy()voidpushDown(Push<?> push)voidreportDown(Metric metric)Scheduleschedule()Stagestage()StoreBindingstore()voidtrace(Object message)Logs a trace-level message.voidwarn(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.runtime.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:
cellAddressin interfaceCellContext
-
edgeName
public String edgeName()
- Specified by:
edgeNamein interfaceCellContext
-
policy
public Policy policy()
- Specified by:
policyin interfaceCellContext
-
schedule
public Schedule schedule()
- Specified by:
schedulein interfaceCellContext
-
stage
public final Stage stage()
- Specified by:
stagein interfaceCellContext
-
store
public StoreBinding store()
- Specified by:
storein interfaceCellContext
-
bindDownlink
public LinkBinding bindDownlink(Downlink downlink)
- Specified by:
bindDownlinkin interfaceCellContext
-
openDownlink
public void openDownlink(LinkBinding link)
- Specified by:
openDownlinkin interfaceCellContext
-
closeDownlink
public void closeDownlink(LinkBinding link)
- Specified by:
closeDownlinkin interfaceCellContext
-
openMetaDownlink
public void openMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink)
- Specified by:
openMetaDownlinkin interfaceCellContext
-
pushDown
public void pushDown(Push<?> push)
- Specified by:
pushDownin interfaceCellContext
-
reportDown
public void reportDown(Metric metric)
- Specified by:
reportDownin interfaceCellContext
-
trace
public void trace(Object message)
Description copied from interface:LogLogs a trace-level message.
-
debug
public void debug(Object message)
Description copied from interface:LogLogs a debug-level message.
-
info
public void info(Object message)
Description copied from interface:LogLogs an info-level message.
-
warn
public void warn(Object message)
Description copied from interface:LogLogs a warn-level message.
-
error
public void error(Object message)
Description copied from interface:LogLogs an error-level message.
-
fail
public void fail(Object message)
Description copied from interface:LogLogs an fail-level message.
-
close
public void close()
-
-