org.araneaframework.framework
Interface ExpiringServiceContext
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- BaseExpiringServiceRouterService
- public interface ExpiringServiceContext
- extends Serializable
Router service that kills child services after specified period of inactivity
is over. BaseExpiringServiceRouterService implementation checks for child
services whose lifetime has expired only when servicing request.
- Since:
- 1.1
- Author:
- Taimo Peelo (taimo@araneaframework.org)
getServiceTTLMap
public Map getServiceTTLMap()
- Returns all expiring services. Keys of the Map are services' keepalive id's
(String). Values are services' time to live in milliseconds (Long).