public <T extends ISubscribedState> T setSubscribedState(String componentId, String streamId, T obj) {
        throw new NotImplementedException();
    }
public < T extends ISubscribedState > T setSubscribedState ( String componentId , String streamId , T obj ) { throw new NotImplementedException ( ) ; }
Synchronizes the specified stream from the specified state spout component id with the provided ISubscribedState object.

The recommended usage of this method is as follows:
<pre>
_myState = context.setSubscribedState(componentId, streamId, new MyState());
</pre>

@param componentId the id of the StateSpout component to subscribe to
@param streamId    the stream to subscribe to
@param obj         Provided ISubscribedState implementation
@return Returns the ISubscribedState object provided