title: What is Trident State in Storm?
body: <p>I am new to Trident in Storm. I am breaking my head over TridentState. As far as my understanding trident maintains the state (i.e metadata) for each batch (whether all the tuples in a batch are completely processed by maintaining a Transaction id in the Database) and i am not entirely sure what the following statement does</p>
  
  <pre><code>TridentState urlToTweeters =
     topology.newStaticState(getUrlToTweetersState());
  </code></pre>
  
  <p>Can anyone explain what actually happens when we define the above code?</p>