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

io.axway.iron.spi.storage.TransactionStore Maven / Gradle / Ivy

package io.axway.iron.spi.storage;

import java.io.*;
import java.util.concurrent.*;

public interface TransactionStore {
    OutputStream createTransactionOutput() throws IOException;

    void seekTransactionPoll(long latestProcessedTransactionId);

    TransactionInput pollNextTransaction(long timeout, TimeUnit unit);

    interface TransactionInput {
        InputStream getInputStream() throws IOException;

        long getTransactionId();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy