reset stream in wowza

How to reset a stream from java API? Similiar to the action that happens when you click on “reset stream” in Incoming streams in Wowza streaming engine manager.

Thank you!

Have a look at the IApplicationInstance.resetMediaCasterStream(streamName)