public long getId ( final Address address ) throws IOException { return retryRPC ( ( ) -> mClient . getMasterId ( GetMasterIdPRequest . newBuilder ( ) . setMasterAddress ( address . toProto ( ) ) . build ( ) ) . getMasterId ( ) ) ; }
Returns a master id for a master address .