Class TestResourcesService
java.lang.Object
io.micronaut.testresources.server.TestResourcesService
Main entry point for the server.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The application context configurer. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkTimeout
(io.micronaut.runtime.server.EmbeddedServer server, ExpiryManager manager) Periodically checks if the server is expired and if so, shuts it down.static void
-
Constructor Details
-
TestResourcesService
public TestResourcesService()
-
-
Method Details
-
main
-
checkTimeout
@Scheduled(fixedRate="1m") public void checkTimeout(io.micronaut.runtime.server.EmbeddedServer server, ExpiryManager manager) Periodically checks if the server is expired and if so, shuts it down.- Parameters:
server
- the servermanager
- the expiry manager
-