Class TestResourcesService
java.lang.Object
io.micronaut.testresources.server.TestResourcesService
Main entry point for the server.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe application context configurer. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidcheckTimeout(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
 
 -