Module io.jooby
Package io.jooby

Class ServerSentEmitter.KeepAlive

java.lang.Object
io.jooby.ServerSentEmitter.KeepAlive
All Implemented Interfaces:
Runnable
Enclosing interface:
ServerSentEmitter

public static class ServerSentEmitter.KeepAlive extends Object implements Runnable
Keep-alive task.
  • Constructor Details

    • KeepAlive

      public KeepAlive(ServerSentEmitter emitter, long retry)
      Creates a KeepAlive.
      Parameters:
      emitter - not null.
      retry - keepAlive for the emitter.
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable