/** * Shutdown the feature. */ public IFuture<Void> shutdown() { doCleanup(); return IFuture.DONE; }
/** * Kill is only invoked, when shutdown of some (e.g. other) feature does not return due to timeout. * The feature should do any kind of possible cleanup, but no asynchronous operations. */ public void kill() { doCleanup(); }