public class StatusUpdateApplicationListener extends Object
| Constructor and Description |
|---|
StatusUpdateApplicationListener(StatusUpdater statusUpdater,
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationReady(org.springframework.boot.context.event.ApplicationReadyEvent event) |
void |
onClientApplicationRegistered(ClientApplicationRegisteredEvent event) |
void |
onContextClosed(org.springframework.context.event.ContextClosedEvent event) |
void |
setUpdatePeriod(long updatePeriod) |
void |
startStatusUpdate() |
void |
stopStatusUpdate() |
public StatusUpdateApplicationListener(StatusUpdater statusUpdater, org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler taskScheduler)
@EventListener public void onApplicationReady(org.springframework.boot.context.event.ApplicationReadyEvent event)
@EventListener public void onContextClosed(org.springframework.context.event.ContextClosedEvent event)
@EventListener public void onClientApplicationRegistered(ClientApplicationRegisteredEvent event)
public void startStatusUpdate()
public void stopStatusUpdate()
public void setUpdatePeriod(long updatePeriod)
Copyright © 2018 codecentric AG. All rights reserved.