Class ExpiryManager
java.lang.Object
io.micronaut.testresources.server.ExpiryManager
- All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,,Object> io.micronaut.aop.MethodInterceptor<Object,,Object> io.micronaut.core.order.Ordered
@Singleton
@InterceptorBean(Ping.class)
public final class ExpiryManager
extends Object
implements io.micronaut.aop.MethodInterceptor<Object,Object>
The expiry manager will handle pings from the client to keep the server alive.
-
Field Summary
Fields inherited from interface io.micronaut.aop.Interceptor
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.aop.MethodInterceptor
interceptMethods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
ExpiryManager
public ExpiryManager(@Value("${server.idle.timeout.minutes:60}") int keepAliveMinutes)
-
-
Method Details