net.opentsdb.tsd
public final class StatsRpc extends Object
| Constructor and Description | 
|---|
StatsRpc()  | 
| Modifier and Type | Method and Description | 
|---|---|
com.stumbleupon.async.Deferred<Object> | 
execute(TSDB tsdb,
       org.jboss.netty.channel.Channel chan,
       String[] cmd)
Telnet RPC responder that returns the stats in ASCII style 
 | 
void | 
execute(TSDB tsdb,
       net.opentsdb.tsd.HttpQuery query)
HTTP resposne handler 
 | 
public com.stumbleupon.async.Deferred<Object> execute(TSDB tsdb, org.jboss.netty.channel.Channel chan, String[] cmd)
tsdb - The TSDB to use for fetching statschan - The netty channel to respond oncmd - call parameterspublic void execute(TSDB tsdb, net.opentsdb.tsd.HttpQuery query)
tsdb - The TSDB to which we belongquery - The query to parse and respond to