All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fiolino.common.processing.sink.CloneableSink Maven / Gradle / Ivy

Go to download

General structure to easily create dynamic logic via MethodHandles and others.

There is a newer version: 1.0.10
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy