backtype.storm.generated
Interface Nimbus.Iface

All Known Implementing Classes:
Nimbus.Client
Enclosing class:
Nimbus

public static interface Nimbus.Iface


Method Summary
 void activate(String name)
           
 String beginFileDownload(String file)
           
 String beginFileUpload()
           
 void deactivate(String name)
           
 ByteBuffer downloadChunk(String id)
           
 void finishFileUpload(String location)
           
 ClusterSummary getClusterInfo()
           
 String getNimbusConf()
           
 StormTopology getTopology(String id)
           
 String getTopologyConf(String id)
           
 TopologyInfo getTopologyInfo(String id)
           
 StormTopology getUserTopology(String id)
           
 void killTopology(String name)
           
 void killTopologyWithOpts(String name, KillOptions options)
           
 void rebalance(String name, RebalanceOptions options)
           
 void submitTopology(String name, String uploadedJarLocation, String jsonConf, StormTopology topology)
           
 void submitTopologyWithOpts(String name, String uploadedJarLocation, String jsonConf, StormTopology topology, SubmitOptions options)
           
 void uploadChunk(String location, ByteBuffer chunk)
           
 

Method Detail

submitTopology

void submitTopology(String name,
                    String uploadedJarLocation,
                    String jsonConf,
                    StormTopology topology)
                    throws AlreadyAliveException,
                           InvalidTopologyException,
                           org.apache.thrift.TException
Throws:
AlreadyAliveException
InvalidTopologyException
org.apache.thrift.TException

submitTopologyWithOpts

void submitTopologyWithOpts(String name,
                            String uploadedJarLocation,
                            String jsonConf,
                            StormTopology topology,
                            SubmitOptions options)
                            throws AlreadyAliveException,
                                   InvalidTopologyException,
                                   org.apache.thrift.TException
Throws:
AlreadyAliveException
InvalidTopologyException
org.apache.thrift.TException

killTopology

void killTopology(String name)
                  throws NotAliveException,
                         org.apache.thrift.TException
Throws:
NotAliveException
org.apache.thrift.TException

killTopologyWithOpts

void killTopologyWithOpts(String name,
                          KillOptions options)
                          throws NotAliveException,
                                 org.apache.thrift.TException
Throws:
NotAliveException
org.apache.thrift.TException

activate

void activate(String name)
              throws NotAliveException,
                     org.apache.thrift.TException
Throws:
NotAliveException
org.apache.thrift.TException

deactivate

void deactivate(String name)
                throws NotAliveException,
                       org.apache.thrift.TException
Throws:
NotAliveException
org.apache.thrift.TException

rebalance

void rebalance(String name,
               RebalanceOptions options)
               throws NotAliveException,
                      InvalidTopologyException,
                      org.apache.thrift.TException
Throws:
NotAliveException
InvalidTopologyException
org.apache.thrift.TException

beginFileUpload

String beginFileUpload()
                       throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

uploadChunk

void uploadChunk(String location,
                 ByteBuffer chunk)
                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

finishFileUpload

void finishFileUpload(String location)
                      throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

beginFileDownload

String beginFileDownload(String file)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

downloadChunk

ByteBuffer downloadChunk(String id)
                         throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getNimbusConf

String getNimbusConf()
                     throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getClusterInfo

ClusterSummary getClusterInfo()
                              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

getTopologyInfo

TopologyInfo getTopologyInfo(String id)
                             throws NotAliveException,
                                    org.apache.thrift.TException
Throws:
NotAliveException
org.apache.thrift.TException

getTopologyConf

String getTopologyConf(String id)
                       throws NotAliveException,
                              org.apache.thrift.TException
Throws:
NotAliveException
org.apache.thrift.TException

getTopology

StormTopology getTopology(String id)
                          throws NotAliveException,
                                 org.apache.thrift.TException
Throws:
NotAliveException
org.apache.thrift.TException

getUserTopology

StormTopology getUserTopology(String id)
                              throws NotAliveException,
                                     org.apache.thrift.TException
Throws:
NotAliveException
org.apache.thrift.TException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.