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 TypeMethodDescriptionvoid
delayedStop
(long time, TimeUnit unit) delayedStop.void
onExperimentationEnd.
-
Constructor Details
-
ShutdownService
public ShutdownService(org.springframework.context.ApplicationContext appContext, EventAsyncConfigurer eventAsyncConfigurer, EventWebserverConfig eventWebserverConfig) Constructor for ShutdownService.
- Parameters:
appContext
- aApplicationContext
object.eventAsyncConfigurer
- aEventAsyncConfigurer
object.eventWebserverConfig
- aEventWebserverConfig
object.
-
-
Method Details
-
onExperimentationEnd
onExperimentationEnd.
- Parameters:
event
- aExecutionEndedEvent
object.
-
delayedStop
delayedStop.
- Parameters:
time
- a long.unit
- aTimeUnit
object.
-