storm--prepare方法

backtype.storm.task
Interface IBolt

 void prepare(java.util.Map stormConf, TopologyContext context, OutputCollector collector)
          Called when a task for this component is initialized within a worker on the cluster.

<!-- Generated by javadoc (build 1.6.0_33) on Thu Sep 06 15:51:45 PDT 2012 -->

<noscript></noscript>

prepare

void prepare(java.util.Map stormConf,
             TopologyContext context,
             OutputCollector collector)

你可能感兴趣的:(storm)