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

org.noear.water.protocol.LogSource Maven / Gradle / Ivy

There is a newer version: 2.14.2
Show newest version
package org.noear.water.protocol;

import org.noear.water.model.LogM;
import org.noear.water.model.TagCountsM;
import org.noear.water.protocol.model.log.LogModel;

import java.io.Closeable;
import java.util.List;

public interface LogSource extends Closeable {
    List query(String logger, Integer level, int size, String tagx, long startLogId, long timestamp) throws Exception;

    List queryGroupCountBy(String logger, String group, String service, String filed) throws Exception;

    void writeAll(String logger, List list) throws Exception;

    void create(String logger, int keep_days) throws Exception;

    long clear(String logger, int keep_days, int limit_rows) throws Exception;

    /**
     * 充许搜索
     * */
    boolean allowSearch();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy