-
- All Superinterfaces:
CellBinding
,TierBinding
- All Known Implementing Classes:
ActorHost
,HostProxy
,HostTable
,RemoteHost
,RemoteHostClient
public interface HostBinding extends TierBinding, CellBinding
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
bottomHost(Class<T> hostClass)
HostAddress
cellAddress()
void
didBecomeMaster()
void
didBecomeSlave()
NodeBinding
getNode(Uri nodeUri)
HostContext
hostContext()
Uri
hostUri()
HostBinding
hostWrapper()
boolean
isConnected()
boolean
isMaster()
boolean
isPrimary()
boolean
isRemote()
boolean
isReplica()
boolean
isSecure()
boolean
isSlave()
Uri
meshUri()
UriMapper<NodeBinding>
nodes()
void
openMetaHost(HostBinding host, NodeBinding metaHost)
void
openMetaLane(LaneBinding lane, NodeBinding metaLane)
void
openMetaNode(NodeBinding node, NodeBinding metaNode)
void
openMetaUplink(LinkBinding uplink, NodeBinding metaUplink)
NodeBinding
openNode(Uri nodeUri)
NodeBinding
openNode(Uri nodeUri, NodeBinding node)
PartBinding
part()
Value
partKey()
void
setHostContext(HostContext hostContext)
void
setPrimary(boolean isPrimary)
void
setReplica(boolean isReplica)
<T> T
unwrapHost(Class<T> hostClass)
-
Methods inherited from interface swim.system.CellBinding
openUplink, pushUp
-
-
-
-
Method Detail
-
part
PartBinding part()
-
hostWrapper
HostBinding hostWrapper()
-
hostContext
HostContext hostContext()
-
setHostContext
void setHostContext(HostContext hostContext)
-
unwrapHost
<T> T unwrapHost(Class<T> hostClass)
-
bottomHost
<T> T bottomHost(Class<T> hostClass)
-
cellAddress
HostAddress cellAddress()
-
meshUri
Uri meshUri()
-
partKey
Value partKey()
-
hostUri
Uri hostUri()
-
isConnected
boolean isConnected()
-
isRemote
boolean isRemote()
-
isSecure
boolean isSecure()
-
isPrimary
boolean isPrimary()
-
setPrimary
void setPrimary(boolean isPrimary)
-
isReplica
boolean isReplica()
-
setReplica
void setReplica(boolean isReplica)
-
isMaster
boolean isMaster()
-
isSlave
boolean isSlave()
-
didBecomeMaster
void didBecomeMaster()
-
didBecomeSlave
void didBecomeSlave()
-
openMetaHost
void openMetaHost(HostBinding host, NodeBinding metaHost)
-
nodes
UriMapper<NodeBinding> nodes()
-
getNode
NodeBinding getNode(Uri nodeUri)
-
openNode
NodeBinding openNode(Uri nodeUri)
-
openNode
NodeBinding openNode(Uri nodeUri, NodeBinding node)
-
openMetaNode
void openMetaNode(NodeBinding node, NodeBinding metaNode)
-
openMetaLane
void openMetaLane(LaneBinding lane, NodeBinding metaLane)
-
openMetaUplink
void openMetaUplink(LinkBinding uplink, NodeBinding metaUplink)
-
-