public static class Nimbus.AsyncClient extends org.apache.thrift.async.TAsyncClient implements Nimbus.AsyncIface
Constructor and Description |
---|
AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.async.TAsyncClientManager clientManager,
org.apache.thrift.transport.TNonblockingTransport transport) |
Modifier and Type | Method and Description |
---|---|
void |
activate(String name,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
beginBlobDownload(String key,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
beginCreateBlob(String key,
SettableBlobMeta meta,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
beginFileDownload(String file,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
beginFileUpload(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
beginUpdateBlob(String key,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
cancelBlobUpload(String session,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
createStateInZookeeper(String key,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
deactivate(String name,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
debug(String name,
String component,
boolean enable,
double samplingPercentage,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
deleteBlob(String key,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
downloadBlobChunk(String session,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
downloadChunk(String id,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
finishBlobUpload(String session,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
finishFileUpload(String location,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getBlobMeta(String key,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getBlobReplication(String key,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getClusterInfo(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getComponentPageInfo(String topology_id,
String component_id,
String window,
boolean is_include_sys,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getComponentPendingProfileActions(String id,
String component_id,
ProfileAction action,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getLeader(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getLogConfig(String name,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getNimbusConf(org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getSupervisorPageInfo(String id,
String host,
boolean is_include_sys,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getTopology(String id,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getTopologyConf(String id,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getTopologyHistory(String user,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getTopologyInfo(String id,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getTopologyInfoWithOpts(String id,
GetInfoOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getTopologyPageInfo(String id,
String window,
boolean is_include_sys,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
getUserTopology(String id,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
isTopologyNameAllowed(String name,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
killTopology(String name,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
killTopologyWithOpts(String name,
KillOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
listBlobs(String session,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
rebalance(String name,
RebalanceOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
setBlobMeta(String key,
SettableBlobMeta meta,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
setLogConfig(String name,
LogConfig config,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
setWorkerProfiler(String id,
ProfileRequest profileRequest,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
submitTopology(String name,
String uploadedJarLocation,
String jsonConf,
StormTopology topology,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
submitTopologyWithOpts(String name,
String uploadedJarLocation,
String jsonConf,
StormTopology topology,
SubmitOptions options,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
updateBlobReplication(String key,
int replication,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
uploadBlobChunk(String session,
ByteBuffer chunk,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
uploadChunk(String location,
ByteBuffer chunk,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
void |
uploadNewCredentials(String name,
Credentials creds,
org.apache.thrift.async.AsyncMethodCallback resultHandler) |
public AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
public void submitTopology(String name, String uploadedJarLocation, String jsonConf, StormTopology topology, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
submitTopology
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void submitTopologyWithOpts(String name, String uploadedJarLocation, String jsonConf, StormTopology topology, SubmitOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
submitTopologyWithOpts
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void killTopology(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
killTopology
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void killTopologyWithOpts(String name, KillOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
killTopologyWithOpts
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void activate(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
activate
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void deactivate(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
deactivate
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void rebalance(String name, RebalanceOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
rebalance
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void setLogConfig(String name, LogConfig config, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
setLogConfig
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getLogConfig(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getLogConfig
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void debug(String name, String component, boolean enable, double samplingPercentage, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
debug
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void setWorkerProfiler(String id, ProfileRequest profileRequest, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
setWorkerProfiler
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getComponentPendingProfileActions(String id, String component_id, ProfileAction action, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getComponentPendingProfileActions
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void uploadNewCredentials(String name, Credentials creds, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
uploadNewCredentials
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void beginCreateBlob(String key, SettableBlobMeta meta, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
beginCreateBlob
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void beginUpdateBlob(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
beginUpdateBlob
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void uploadBlobChunk(String session, ByteBuffer chunk, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
uploadBlobChunk
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void finishBlobUpload(String session, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
finishBlobUpload
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void cancelBlobUpload(String session, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
cancelBlobUpload
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getBlobMeta(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getBlobMeta
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void setBlobMeta(String key, SettableBlobMeta meta, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
setBlobMeta
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void beginBlobDownload(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
beginBlobDownload
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void downloadBlobChunk(String session, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
downloadBlobChunk
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void deleteBlob(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
deleteBlob
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void listBlobs(String session, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
listBlobs
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getBlobReplication(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getBlobReplication
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void updateBlobReplication(String key, int replication, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
updateBlobReplication
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void createStateInZookeeper(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
createStateInZookeeper
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void beginFileUpload(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
beginFileUpload
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void uploadChunk(String location, ByteBuffer chunk, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
uploadChunk
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void finishFileUpload(String location, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
finishFileUpload
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void beginFileDownload(String file, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
beginFileDownload
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void downloadChunk(String id, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
downloadChunk
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getNimbusConf(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getNimbusConf
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getClusterInfo(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getClusterInfo
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getLeader(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getLeader
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void isTopologyNameAllowed(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
isTopologyNameAllowed
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getTopologyInfo(String id, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getTopologyInfo
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getTopologyInfoWithOpts(String id, GetInfoOptions options, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getTopologyInfoWithOpts
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getTopologyPageInfo(String id, String window, boolean is_include_sys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getTopologyPageInfo
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getSupervisorPageInfo(String id, String host, boolean is_include_sys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getSupervisorPageInfo
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getComponentPageInfo(String topology_id, String component_id, String window, boolean is_include_sys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getComponentPageInfo
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getTopologyConf(String id, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getTopologyConf
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getTopology(String id, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getTopology
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getUserTopology(String id, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getUserTopology
in interface Nimbus.AsyncIface
org.apache.thrift.TException
public void getTopologyHistory(String user, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException
getTopologyHistory
in interface Nimbus.AsyncIface
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.