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

com.qiniu.interfaces.ILineProcess Maven / Gradle / Ivy

There is a newer version: 8.4.8
Show newest version
package com.qiniu.interfaces;

import java.io.IOException;
import java.util.List;

public interface ILineProcess {

    ILineProcess clone() throws CloneNotSupportedException;

    String getProcessName();

    default void setBatchSize(int batchSize) throws IOException {}

    default void setRetryTimes(int retryTimes) {}

    default void setNextProcessor(ILineProcess nextProcessor) {}

    default ILineProcess getNextProcessor() {
        return null;
    }

    String processLine(T line) throws IOException;

    void processLine(List list) throws IOException;

    void closeResource();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy