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

io.perl.api.ReportLatency Maven / Gradle / Ivy

/**
 * Copyright (c) KMG. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 */
package io.perl.api;

/**
 * Interface ReportLatency.
 */
public interface ReportLatency {


    /**
     * Record the latency.
     *
     * @param startTime start time.
     * @param events    number of events(records).
     * @param bytes     number of bytes.
     * @param latency   latency value in milliseconds.
     */
    void recordLatency(long startTime, int events, int bytes, long latency);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy