Package io.perl.api

Interface Channel

All Superinterfaces:
GetPerlChannel

public non-sealed interface Channel extends GetPerlChannel
Interface Channel.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clear the channel.
    receive(int timeout)
    Receive the benchmarking timestamp.
    void
    sendEndTime(long endTime)
    Send end time indication.

    Methods inherited from interface io.perl.api.GetPerlChannel

    getPerlChannel
  • Method Details

    • receive

      TimeStamp receive(int timeout)
      Receive the benchmarking timestamp.
      Parameters:
      timeout - maximum time in milliseconds to wait for the data.
      Returns:
      TimeStamp Time stamp data If there is no data, the this method will return null data after timeout or it can return before the timeout with null value. return TimeStamp Benchmarking Data. return null if there is no data.
    • sendEndTime

      void sendEndTime(long endTime)
      Send end time indication.
      Parameters:
      endTime - End Time.
    • clear

      void clear()
      Clear the channel.