- java.lang.Object
-
- swim.runtime.scope.Scope
-
- All Implemented Interfaces:
CellContext,swim.util.Log
public abstract class Scope extends Object implements CellContext
-
-
Field Summary
Fields Modifier and Type Field Description protected CellContextcellContextprotected swim.concurrent.Stagestage
-
Constructor Summary
Constructors Constructor Description Scope(CellContext cellContext)Scope(CellContext cellContext, swim.concurrent.Stage stage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkBindingbindDownlink(swim.api.Downlink downlink)CellAddresscellAddress()CellContextcellContext()voidclose()voidcloseDownlink(LinkBinding link)voiddebug(Object message)StringedgeName()voiderror(Object message)voidfail(Object message)voidinfo(Object message)voidopenDownlink(LinkBinding link)voidopenMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink)swim.api.policy.Policypolicy()voidpushDown(Push<?> push)voidreportDown(Metric metric)swim.concurrent.Scheduleschedule()swim.concurrent.Stagestage()swim.store.StoreBindingstore()voidtrace(Object message)voidwarn(Object 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 swim.concurrent.Stage stage
-
-
Constructor Detail
-
Scope
public Scope(CellContext cellContext, swim.concurrent.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 swim.api.policy.Policy policy()
- Specified by:
policyin interfaceCellContext
-
schedule
public swim.concurrent.Schedule schedule()
- Specified by:
schedulein interfaceCellContext
-
stage
public final swim.concurrent.Stage stage()
- Specified by:
stagein interfaceCellContext
-
store
public swim.store.StoreBinding store()
- Specified by:
storein interfaceCellContext
-
bindDownlink
public LinkBinding bindDownlink(swim.api.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)
- Specified by:
tracein interfaceswim.util.Log
-
debug
public void debug(Object message)
- Specified by:
debugin interfaceswim.util.Log
-
info
public void info(Object message)
- Specified by:
infoin interfaceswim.util.Log
-
warn
public void warn(Object message)
- Specified by:
warnin interfaceswim.util.Log
-
error
public void error(Object message)
- Specified by:
errorin interfaceswim.util.Log
-
fail
public void fail(Object message)
- Specified by:
failin interfaceswim.util.Log
-
close
public void close()
-
-