Invoked to report an event that subclasses may wish to report in some way to the user.
Invoked to report an event that subclasses may wish to report in some way to the user.
the event being reported
Release any finite, non-memory resources, such as file handles, held by this
Reporter.
Release any finite, non-memory resources, such as file handles, held by this
Reporter. Clients should call this method when they no longer need
the Reporter, before releasing the last reference to the Reporter.
After this method is invoked, the Reporter may be defunct, and therefore not
usable anymore. If the Reporter holds no resources, it may do nothing when
this method is invoked, however, in that case, it probably won't implement ResourcefulReporter.
Subtrait of
Reporterthat contains adisposemethod for releasing any finite, non-memory resources, such as file handles, held by theReporter.Runnerwill invokedisposeon anyResourcefulReporterwhen it no longer needs theReporter.