Class TestResourcesKeepAlive

java.lang.Object
io.micronaut.testresources.client.TestResourcesKeepAlive

@Singleton public class TestResourcesKeepAlive extends Object
An application component which sends periodic keep alive requests to the server.
  • Constructor Details

    • TestResourcesKeepAlive

      public TestResourcesKeepAlive()
  • Method Details

    • keepAlive

      @Scheduled(fixedRate="1m") public void keepAlive(io.micronaut.context.ApplicationContext applicationContext)
      Sends periodic keep alive requests to the server.
      Parameters:
      applicationContext - the application context