org.fiolino.common.processing.sink.StoppableSink Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
General structure to easily create dynamic logic via MethodHandles and others.
package org.fiolino.common.processing.sink;
/**
* Created by micro on 5/30/2016.
*/
public interface StoppableSink extends Sink {
/**
* Stops the sink, so that all running threads (if any) are being stopped.
*
* This sink won't accept any input thereafter.
*/
void stop() throws InterruptedException;
}