Class Heartbeater.Beat

java.lang.Object
org.flasby.net.heartbeat.Heartbeater.Beat
Enclosing class:
Heartbeater<T>

public class Heartbeater.Beat extends Object
controls the beating of the heartbeat.
Author:
steve
  • Constructor Details

  • Method Details

    • tickleWith

      public void tickleWith(T tickleType)
      called every time a message is sent which should delay the sending of the next heartbeat. Does not need to be invoked when the policy is ALWAYS. In this case it will simply be ignored.
    • stop

      public void stop()
      will stop the heartbeat. If you 'tickle' the Beat then it will start beating again.