org.fiolino.common.processing.sink.CloneableSink 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 org.fiolino.common.container.Container;
/**
* Created by Michael Kuhlmann on 12.04.2016.
*/
public interface CloneableSink> extends Sink {
/**
* This is called for each parallel thread before the real commit is triggered.
*/
void partialCommit(Container metadata) throws Exception;
/**
* Creates a clone of myself.
*/
S createClone();
}