public void stop(){
  isAlive=false;
  statsSnapShot.stop();
  holdingBuffer.clear();
  IOUtils.closeQuietly(this);
}

public void stop ( ) { isAlive = false ; statsSnapShot . stop ( ) ; holdingBuffer . clear ( ) ; IOUtils . closeQuietly ( this ) ; }
the method is called in the deactivate method of the operator
