Package org.apache.drill.exec.coord.zk
Class ZKRegistrationHandle
java.lang.Object
org.apache.drill.exec.coord.zk.ZKRegistrationHandle
- All Implemented Interfaces:
ClusterCoordinator.RegistrationHandle
-
Field Summary
-
Constructor Summary
ConstructorDescriptionZKRegistrationHandle
(String id, CoordinationProtos.DrillbitEndpoint endpoint) -
Method Summary
Modifier and TypeMethodDescriptionGet the drillbit endpoint associated with the registration handlevoid
-
Field Details
-
id
-
endpoint
-
-
Constructor Details
-
ZKRegistrationHandle
-
-
Method Details
-
getEndPoint
Description copied from interface:ClusterCoordinator.RegistrationHandle
Get the drillbit endpoint associated with the registration handle- Specified by:
getEndPoint
in interfaceClusterCoordinator.RegistrationHandle
- Returns:
- drillbit endpoint
-
setEndPoint
- Specified by:
setEndPoint
in interfaceClusterCoordinator.RegistrationHandle
-