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

org.xbib.elx.api.BulkMetric Maven / Gradle / Ivy

package org.xbib.elx.api;

import org.elasticsearch.common.settings.Settings;
import org.xbib.metrics.api.Count;
import org.xbib.metrics.api.Metered;

import java.io.Closeable;

public interface BulkMetric extends Closeable {

    void init(Settings settings);

    Metered getTotalIngest();

    Count getTotalIngestSizeInBytes();

    Count getCurrentIngest();

    Count getCurrentIngestNumDocs();

    Count getSubmitted();

    Count getSucceeded();

    Count getFailed();

    long elapsed();

    void start();

    void stop();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy