public static class Nimbus.AsyncClient extends org.apache.storm.thrift.async.TAsyncClient implements Nimbus.AsyncIface
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 |
activate(String name,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
beginBlobDownload(String key,
org.apache.storm.thrift.async.AsyncMethodCallback<BeginDownloadResult> resultHandler) |
void |
beginCreateBlob(String key,
SettableBlobMeta meta,
org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) |
void |
beginFileUpload(org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) |
void |
beginUpdateBlob(String key,
org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) |
void |
cancelBlobUpload(String session,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
createStateInZookeeper(String key,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
deactivate(String name,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
debug(String name,
String component,
boolean enable,
double samplingPercentage,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
deleteBlob(String key,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
downloadBlobChunk(String session,
org.apache.storm.thrift.async.AsyncMethodCallback<ByteBuffer> resultHandler) |
void |
downloadChunk(String id,
org.apache.storm.thrift.async.AsyncMethodCallback<ByteBuffer> resultHandler) |
void |
finishBlobUpload(String session,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
finishFileUpload(String location,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
getBlobMeta(String key,
org.apache.storm.thrift.async.AsyncMethodCallback<ReadableBlobMeta> resultHandler) |
void |
getBlobReplication(String key,
org.apache.storm.thrift.async.AsyncMethodCallback<Integer> resultHandler) |
void |
getClusterInfo(org.apache.storm.thrift.async.AsyncMethodCallback<ClusterSummary> resultHandler) |
void |
getComponentPageInfo(String topology_id,
String component_id,
String window,
boolean is_include_sys,
org.apache.storm.thrift.async.AsyncMethodCallback<ComponentPageInfo> resultHandler) |
void |
getComponentPendingProfileActions(String id,
String component_id,
ProfileAction action,
org.apache.storm.thrift.async.AsyncMethodCallback<List<ProfileRequest>> resultHandler) |
void |
getLeader(org.apache.storm.thrift.async.AsyncMethodCallback<NimbusSummary> resultHandler) |
void |
getLogConfig(String name,
org.apache.storm.thrift.async.AsyncMethodCallback<LogConfig> resultHandler) |
void |
getNimbusConf(org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) |
void |
getOwnerResourceSummaries(String owner,
org.apache.storm.thrift.async.AsyncMethodCallback<List<OwnerResourceSummary>> resultHandler) |
void |
getSupervisorAssignments(String node,
org.apache.storm.thrift.async.AsyncMethodCallback<SupervisorAssignments> resultHandler) |
void |
getSupervisorPageInfo(String id,
String host,
boolean is_include_sys,
org.apache.storm.thrift.async.AsyncMethodCallback<SupervisorPageInfo> resultHandler) |
void |
getTopology(String id,
org.apache.storm.thrift.async.AsyncMethodCallback<StormTopology> resultHandler) |
void |
getTopologyConf(String id,
org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) |
void |
getTopologyHistory(String user,
org.apache.storm.thrift.async.AsyncMethodCallback<TopologyHistoryInfo> resultHandler) |
void |
getTopologyInfo(String id,
org.apache.storm.thrift.async.AsyncMethodCallback<TopologyInfo> resultHandler) |
void |
getTopologyInfoByName(String name,
org.apache.storm.thrift.async.AsyncMethodCallback<TopologyInfo> resultHandler) |
void |
getTopologyInfoByNameWithOpts(String name,
GetInfoOptions options,
org.apache.storm.thrift.async.AsyncMethodCallback<TopologyInfo> resultHandler) |
void |
getTopologyInfoWithOpts(String id,
GetInfoOptions options,
org.apache.storm.thrift.async.AsyncMethodCallback<TopologyInfo> resultHandler) |
void |
getTopologyPageInfo(String id,
String window,
boolean is_include_sys,
org.apache.storm.thrift.async.AsyncMethodCallback<TopologyPageInfo> resultHandler) |
void |
getTopologySummaries(org.apache.storm.thrift.async.AsyncMethodCallback<List<TopologySummary>> resultHandler) |
void |
getTopologySummary(String id,
org.apache.storm.thrift.async.AsyncMethodCallback<TopologySummary> resultHandler) |
void |
getTopologySummaryByName(String name,
org.apache.storm.thrift.async.AsyncMethodCallback<TopologySummary> resultHandler) |
void |
getUserTopology(String id,
org.apache.storm.thrift.async.AsyncMethodCallback<StormTopology> resultHandler) |
void |
isRemoteBlobExists(String blobKey,
org.apache.storm.thrift.async.AsyncMethodCallback<Boolean> resultHandler) |
void |
isTopologyNameAllowed(String name,
org.apache.storm.thrift.async.AsyncMethodCallback<Boolean> resultHandler) |
void |
killTopology(String name,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
killTopologyWithOpts(String name,
KillOptions options,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
listBlobs(String session,
org.apache.storm.thrift.async.AsyncMethodCallback<ListBlobsResult> resultHandler) |
void |
processWorkerMetrics(WorkerMetrics metrics,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
rebalance(String name,
RebalanceOptions options,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heatbeat,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
sendSupervisorWorkerHeartbeats(SupervisorWorkerHeartbeats heartbeats,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
setBlobMeta(String key,
SettableBlobMeta meta,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
setLogConfig(String name,
LogConfig config,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
setWorkerProfiler(String id,
ProfileRequest profileRequest,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
submitTopology(String name,
String uploadedJarLocation,
String jsonConf,
StormTopology topology,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
submitTopologyWithOpts(String name,
String uploadedJarLocation,
String jsonConf,
StormTopology topology,
SubmitOptions options,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
updateBlobReplication(String key,
int replication,
org.apache.storm.thrift.async.AsyncMethodCallback<Integer> resultHandler) |
void |
uploadBlobChunk(String session,
ByteBuffer chunk,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
uploadChunk(String location,
ByteBuffer chunk,
org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) |
void |
uploadNewCredentials(String name,
Credentials creds,
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 submitTopology(String name, String uploadedJarLocation, String jsonConf, StormTopology topology, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
submitTopology
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void submitTopologyWithOpts(String name, String uploadedJarLocation, String jsonConf, StormTopology topology, SubmitOptions options, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
submitTopologyWithOpts
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void killTopology(String name, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
killTopology
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void killTopologyWithOpts(String name, KillOptions options, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
killTopologyWithOpts
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void activate(String name, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
activate
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void deactivate(String name, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
deactivate
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void rebalance(String name, RebalanceOptions options, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
rebalance
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void setLogConfig(String name, LogConfig config, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
setLogConfig
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getLogConfig(String name, org.apache.storm.thrift.async.AsyncMethodCallback<LogConfig> resultHandler) throws org.apache.storm.thrift.TException
getLogConfig
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void debug(String name, String component, boolean enable, double samplingPercentage, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
debug
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void setWorkerProfiler(String id, ProfileRequest profileRequest, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
setWorkerProfiler
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getComponentPendingProfileActions(String id, String component_id, ProfileAction action, org.apache.storm.thrift.async.AsyncMethodCallback<List<ProfileRequest>> resultHandler) throws org.apache.storm.thrift.TException
getComponentPendingProfileActions
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void uploadNewCredentials(String name, Credentials creds, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
uploadNewCredentials
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void beginCreateBlob(String key, SettableBlobMeta meta, org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.storm.thrift.TException
beginCreateBlob
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void beginUpdateBlob(String key, org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.storm.thrift.TException
beginUpdateBlob
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void uploadBlobChunk(String session, ByteBuffer chunk, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
uploadBlobChunk
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void finishBlobUpload(String session, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
finishBlobUpload
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void cancelBlobUpload(String session, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
cancelBlobUpload
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getBlobMeta(String key, org.apache.storm.thrift.async.AsyncMethodCallback<ReadableBlobMeta> resultHandler) throws org.apache.storm.thrift.TException
getBlobMeta
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void setBlobMeta(String key, SettableBlobMeta meta, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
setBlobMeta
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void beginBlobDownload(String key, org.apache.storm.thrift.async.AsyncMethodCallback<BeginDownloadResult> resultHandler) throws org.apache.storm.thrift.TException
beginBlobDownload
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void downloadBlobChunk(String session, org.apache.storm.thrift.async.AsyncMethodCallback<ByteBuffer> resultHandler) throws org.apache.storm.thrift.TException
downloadBlobChunk
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void deleteBlob(String key, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
deleteBlob
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void listBlobs(String session, org.apache.storm.thrift.async.AsyncMethodCallback<ListBlobsResult> resultHandler) throws org.apache.storm.thrift.TException
listBlobs
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getBlobReplication(String key, org.apache.storm.thrift.async.AsyncMethodCallback<Integer> resultHandler) throws org.apache.storm.thrift.TException
getBlobReplication
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void updateBlobReplication(String key, int replication, org.apache.storm.thrift.async.AsyncMethodCallback<Integer> resultHandler) throws org.apache.storm.thrift.TException
updateBlobReplication
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void createStateInZookeeper(String key, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
createStateInZookeeper
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void beginFileUpload(org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.storm.thrift.TException
beginFileUpload
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void uploadChunk(String location, ByteBuffer chunk, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
uploadChunk
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void finishFileUpload(String location, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
finishFileUpload
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void downloadChunk(String id, org.apache.storm.thrift.async.AsyncMethodCallback<ByteBuffer> resultHandler) throws org.apache.storm.thrift.TException
downloadChunk
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getNimbusConf(org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.storm.thrift.TException
getNimbusConf
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getClusterInfo(org.apache.storm.thrift.async.AsyncMethodCallback<ClusterSummary> resultHandler) throws org.apache.storm.thrift.TException
getClusterInfo
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologySummaries(org.apache.storm.thrift.async.AsyncMethodCallback<List<TopologySummary>> resultHandler) throws org.apache.storm.thrift.TException
getTopologySummaries
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologySummaryByName(String name, org.apache.storm.thrift.async.AsyncMethodCallback<TopologySummary> resultHandler) throws org.apache.storm.thrift.TException
getTopologySummaryByName
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologySummary(String id, org.apache.storm.thrift.async.AsyncMethodCallback<TopologySummary> resultHandler) throws org.apache.storm.thrift.TException
getTopologySummary
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getLeader(org.apache.storm.thrift.async.AsyncMethodCallback<NimbusSummary> resultHandler) throws org.apache.storm.thrift.TException
getLeader
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void isTopologyNameAllowed(String name, org.apache.storm.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.storm.thrift.TException
isTopologyNameAllowed
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologyInfoByName(String name, org.apache.storm.thrift.async.AsyncMethodCallback<TopologyInfo> resultHandler) throws org.apache.storm.thrift.TException
getTopologyInfoByName
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologyInfo(String id, org.apache.storm.thrift.async.AsyncMethodCallback<TopologyInfo> resultHandler) throws org.apache.storm.thrift.TException
getTopologyInfo
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologyInfoByNameWithOpts(String name, GetInfoOptions options, org.apache.storm.thrift.async.AsyncMethodCallback<TopologyInfo> resultHandler) throws org.apache.storm.thrift.TException
getTopologyInfoByNameWithOpts
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologyInfoWithOpts(String id, GetInfoOptions options, org.apache.storm.thrift.async.AsyncMethodCallback<TopologyInfo> resultHandler) throws org.apache.storm.thrift.TException
getTopologyInfoWithOpts
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologyPageInfo(String id, String window, boolean is_include_sys, org.apache.storm.thrift.async.AsyncMethodCallback<TopologyPageInfo> resultHandler) throws org.apache.storm.thrift.TException
getTopologyPageInfo
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getSupervisorPageInfo(String id, String host, boolean is_include_sys, org.apache.storm.thrift.async.AsyncMethodCallback<SupervisorPageInfo> resultHandler) throws org.apache.storm.thrift.TException
getSupervisorPageInfo
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getComponentPageInfo(String topology_id, String component_id, String window, boolean is_include_sys, org.apache.storm.thrift.async.AsyncMethodCallback<ComponentPageInfo> resultHandler) throws org.apache.storm.thrift.TException
getComponentPageInfo
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologyConf(String id, org.apache.storm.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.storm.thrift.TException
getTopologyConf
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopology(String id, org.apache.storm.thrift.async.AsyncMethodCallback<StormTopology> resultHandler) throws org.apache.storm.thrift.TException
getTopology
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getUserTopology(String id, org.apache.storm.thrift.async.AsyncMethodCallback<StormTopology> resultHandler) throws org.apache.storm.thrift.TException
getUserTopology
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getTopologyHistory(String user, org.apache.storm.thrift.async.AsyncMethodCallback<TopologyHistoryInfo> resultHandler) throws org.apache.storm.thrift.TException
getTopologyHistory
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getOwnerResourceSummaries(String owner, org.apache.storm.thrift.async.AsyncMethodCallback<List<OwnerResourceSummary>> resultHandler) throws org.apache.storm.thrift.TException
getOwnerResourceSummaries
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void getSupervisorAssignments(String node, org.apache.storm.thrift.async.AsyncMethodCallback<SupervisorAssignments> resultHandler) throws org.apache.storm.thrift.TException
getSupervisorAssignments
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void sendSupervisorWorkerHeartbeats(SupervisorWorkerHeartbeats heartbeats, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
sendSupervisorWorkerHeartbeats
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void sendSupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat heatbeat, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
sendSupervisorWorkerHeartbeat
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void processWorkerMetrics(WorkerMetrics metrics, org.apache.storm.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.storm.thrift.TException
processWorkerMetrics
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
public void isRemoteBlobExists(String blobKey, org.apache.storm.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws org.apache.storm.thrift.TException
isRemoteBlobExists
in interface Nimbus.AsyncIface
org.apache.storm.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.