java.lang.Object
org.komamitsu.fluency.fluentd.ingester.sender.heartbeat.Heartbeater
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
InetSocketHeartbeater

public abstract class Heartbeater extends Object implements Closeable
  • Constructor Details

  • Method Details

    • start

      public void start()
    • invoke

      protected abstract void invoke() throws IOException
      Throws:
      IOException
    • ping

      protected void ping()
    • pong

      protected void pong()
    • setCallback

      public void setCallback(Heartbeater.Callback callback)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • getIntervalMillis

      public int getIntervalMillis()
    • toString

      public String toString()
      Overrides:
      toString in class Object