org.fiolino.common.processing.sink.ThreadsafeSink 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;
import javax.annotation.concurrent.ThreadSafe;
/**
* A sink that is marked as being thread safe.
*
* Even for thread safe sinks, the caller must make sure that after finished() is being
* called, no other thread is continuing to call accept().
*
* Created by kuli on 31.03.16.
*/
@ThreadSafe
public interface ThreadsafeSink extends Sink {
}