Package es.urjc.etsii.grafo.services
Class ShutdownService
java.lang.Object
es.urjc.etsii.grafo.services.ShutdownService
ShutdownService class.
-
Constructor Summary
ConstructorsConstructorDescriptionShutdownService(org.springframework.context.ApplicationContext appContext, EventAsyncConfigurer eventAsyncConfigurer, EventWebserverConfig eventWebserverConfig) Constructor for ShutdownService. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelayedStop(long time, TimeUnit unit) delayedStop.voidonExperimentationEnd.
-
Constructor Details
-
ShutdownService
public ShutdownService(org.springframework.context.ApplicationContext appContext, EventAsyncConfigurer eventAsyncConfigurer, EventWebserverConfig eventWebserverConfig) Constructor for ShutdownService.
- Parameters:
appContext- aApplicationContextobject.eventAsyncConfigurer- aEventAsyncConfigurerobject.eventWebserverConfig- aEventWebserverConfigobject.
-
-
Method Details
-
onExperimentationEnd
onExperimentationEnd.
- Parameters:
event- aExecutionEndedEventobject.
-
delayedStop
delayedStop.
- Parameters:
time- a long.unit- aTimeUnitobject.
-