public static class Supervisor.AsyncClient extends org.apache.storm.thrift.async.TAsyncClient implements Supervisor.AsyncIface
Modifier and Type | Class and Description |
---|---|
static class |
Supervisor.AsyncClient.Factory |
static class |
Supervisor.AsyncClient.getLocalAssignmentForStorm_call |
static class |
Supervisor.AsyncClient.sendSupervisorAssignments_call |
static class |
Supervisor.AsyncClient.sendSupervisorWorkerHeartbeat_call |
Constructor and Description |
---|
AsyncClient(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.storm.thrift.async.TAsyncClientManager clientManager,
org.apache.storm.thrift.transport.TNonblockingTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
getLocalAssignmentForStorm(String id,
org.apache.storm.thrift.async.AsyncMethodCallback<Assignment> resultHandler) |
void |
sendSupervisorAssignments(SupervisorAssignments assignments,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
public AsyncClient(org.apache.storm.thrift.protocol.TProtocolFactory protocolFactory, org.apache.storm.thrift.async.TAsyncClientManager clientManager, org.apache.storm.thrift.transport.TNonblockingTransport transport)
public void sendSupervisorAssignments(SupervisorAssignments assignments, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
sendSupervisorAssignments
in interface Supervisor.AsyncIface
org.apache.storm.thrift.TException
public void getLocalAssignmentForStorm(String id, org.apache.storm.thrift.async.AsyncMethodCallback<Assignment> resultHandler) throws org.apache.storm.thrift.TException
getLocalAssignmentForStorm
in interface Supervisor.AsyncIface
org.apache.storm.thrift.TException
public void sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heartbeat, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
sendSupervisorWorkerHeartbeat
in interface Supervisor.AsyncIface
org.apache.storm.thrift.TException
Copyright © 2023 The Apache Software Foundation. All rights reserved.