public void registerDriverWithShuffleService( String host, int port, long heartbeatTimeoutMs, long heartbeatIntervalMs) throws IOException, InterruptedException { checkInit(); ByteBuffer registerDriver = new RegisterDriver(appId, heartbeatTimeoutMs).toByteBuffer(); TransportClient client = clientFactory.createClient(host, port); client.sendRpc(registerDriver, new RegisterDriverCallback(client, heartbeatIntervalMs)); }
public void registerDriverWithShuffleService( String host, int port, long heartbeatTimeoutMs, long heartbeatIntervalMs) throws IOException, InterruptedException { checkInit(); ByteBuffer registerDriver = new RegisterDriver(appId, heartbeatTimeoutMs).toByteBuffer(); TransportClient client = clientFactory.createClient(host, port); client.sendRpc(registerDriver, new RegisterDriverCallback(client, heartbeatIntervalMs)); }
public void registerDriverWithShuffleService( String host, int port, long heartbeatTimeoutMs, long heartbeatIntervalMs) throws IOException, InterruptedException { checkInit(); ByteBuffer registerDriver = new RegisterDriver(appId, heartbeatTimeoutMs).toByteBuffer(); TransportClient client = clientFactory.createClient(host, port); client.sendRpc(registerDriver, new RegisterDriverCallback(client, heartbeatIntervalMs)); }