- java.lang.Object
-
- swim.runtime.AbstractWarpRef
-
- swim.runtime.AbstractTierBinding
-
- All Implemented Interfaces:
DownlinkFactory,WarpRef,CellContext,TierBinding,Log
- Direct Known Subclasses:
ActorSpace,AgentNode,AgentView,EdgeTable,HostTable,LaneModel,LaneView,MeshTable,PartTable,RemoteHost
public abstract class AbstractTierBinding extends AbstractWarpRef implements TierBinding
-
-
Field Summary
Fields Modifier and Type Field Description protected static intCLOSED_PHASEprotected static intCLOSED_STATEprotected static intCLOSING_STATEprotected static intFAILED_STATEprotected static intFAILING_STATEprotected static intLOADED_PHASEprotected static intLOADED_STATEprotected static intLOADING_STATEprotected static intOPENED_PHASEprotected static intOPENED_STATEprotected static intOPENING_STATEprotected static intPHASE_MASKprotected static intPHASE_SHIFTprotected static intRECOVERING_STATEprotected static intSTARTED_PHASEprotected static intSTARTED_STATEprotected static intSTARTING_STATEprotected static intSTATE_MASKprotected intstatusprotected static AtomicIntegerFieldUpdater<AbstractTierBinding>STATUSprotected static intSTOPPING_STATEprotected static intUNLOADING_STATE
-
Constructor Summary
Constructors Constructor Description AbstractTierBinding()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidactivate(TierBinding childTier)voidclose()voiddidClose()voiddidFail(Throwable error)protected voiddidLoad()protected voiddidOpen()protected voiddidStart()protected voiddidStop()protected voiddidUnload()booleanisClosed()booleanisLoaded()booleanisOpened()booleanisStarted()voidload()voidopen()voidstart()voidstop()abstract TierContexttierContext()voidunload()protected voidwillClose()protected voidwillLoad()protected voidwillOpen()protected voidwillStart()protected voidwillStop()protected voidwillUnload()-
Methods inherited from class swim.runtime.AbstractWarpRef
command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, downlink, downlinkHttp, downlinkList, downlinkMap, downlinkValue, downlinkWs, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRef
-
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
bindDownlink, cellAddress, closeDownlink, edgeName, meshUri, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store
-
-
-
-
Field Detail
-
status
protected volatile int status
-
STATE_MASK
protected static final int STATE_MASK
- See Also:
- Constant Field Values
-
CLOSED_STATE
protected static final int CLOSED_STATE
- See Also:
- Constant Field Values
-
CLOSING_STATE
protected static final int CLOSING_STATE
- See Also:
- Constant Field Values
-
UNLOADING_STATE
protected static final int UNLOADING_STATE
- See Also:
- Constant Field Values
-
STOPPING_STATE
protected static final int STOPPING_STATE
- See Also:
- Constant Field Values
-
RECOVERING_STATE
protected static final int RECOVERING_STATE
- See Also:
- Constant Field Values
-
FAILING_STATE
protected static final int FAILING_STATE
- See Also:
- Constant Field Values
-
FAILED_STATE
protected static final int FAILED_STATE
- See Also:
- Constant Field Values
-
OPENING_STATE
protected static final int OPENING_STATE
- See Also:
- Constant Field Values
-
OPENED_STATE
protected static final int OPENED_STATE
- See Also:
- Constant Field Values
-
LOADING_STATE
protected static final int LOADING_STATE
- See Also:
- Constant Field Values
-
LOADED_STATE
protected static final int LOADED_STATE
- See Also:
- Constant Field Values
-
STARTING_STATE
protected static final int STARTING_STATE
- See Also:
- Constant Field Values
-
STARTED_STATE
protected static final int STARTED_STATE
- See Also:
- Constant Field Values
-
PHASE_SHIFT
protected static final int PHASE_SHIFT
- See Also:
- Constant Field Values
-
PHASE_MASK
protected static final int PHASE_MASK
- See Also:
- Constant Field Values
-
CLOSED_PHASE
protected static final int CLOSED_PHASE
- See Also:
- Constant Field Values
-
OPENED_PHASE
protected static final int OPENED_PHASE
- See Also:
- Constant Field Values
-
LOADED_PHASE
protected static final int LOADED_PHASE
- See Also:
- Constant Field Values
-
STARTED_PHASE
protected static final int STARTED_PHASE
- See Also:
- Constant Field Values
-
STATUS
protected static final AtomicIntegerFieldUpdater<AbstractTierBinding> STATUS
-
-
Method Detail
-
tierContext
public abstract TierContext tierContext()
- Specified by:
tierContextin interfaceTierBinding
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin interfaceTierBinding
-
isOpened
public boolean isOpened()
- Specified by:
isOpenedin interfaceTierBinding
-
isLoaded
public boolean isLoaded()
- Specified by:
isLoadedin interfaceTierBinding
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceTierBinding
-
activate
protected void activate(TierBinding childTier)
-
open
public void open()
- Specified by:
openin interfaceTierBinding
-
load
public void load()
- Specified by:
loadin interfaceTierBinding
-
start
public void start()
- Specified by:
startin interfaceTierBinding
-
stop
public void stop()
- Specified by:
stopin interfaceTierBinding
-
unload
public void unload()
- Specified by:
unloadin interfaceTierBinding
-
close
public void close()
- Specified by:
closein interfaceTierBinding- Specified by:
closein interfaceWarpRef- Specified by:
closein classAbstractWarpRef
-
willOpen
protected void willOpen()
-
didOpen
protected void didOpen()
-
willLoad
protected void willLoad()
-
didLoad
protected void didLoad()
-
willStart
protected void willStart()
-
didStart
protected void didStart()
-
willStop
protected void willStop()
-
didStop
protected void didStop()
-
willUnload
protected void willUnload()
-
didUnload
protected void didUnload()
-
willClose
protected void willClose()
-
didClose
public void didClose()
- Specified by:
didClosein interfaceTierBinding
-
didFail
public void didFail(Throwable error)
- Specified by:
didFailin interfaceTierBinding
-
-