io.perl.api.PerlChannel 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;
import io.perl.exception.ExceptionHandler;
/**
* Interface for recording benchmarking data.
*/
public interface PerlChannel extends ExceptionHandler {
/**
* send the benchmarking data.
*
* @param startTime Start time
* @param endTime End Time.
* @param records number of records/events/messages.
* @param bytes size of the data in bytes.
*/
void send(long startTime, long endTime, int records, int bytes);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy