public class CompositeServiceUpdateTask extends ServiceUpdateTask
| Constructor and Description |
|---|
CompositeServiceUpdateTask(ServiceEventHandler handler,
DestroyableServerConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
boolean |
needUpdate() |
boolean |
notifyServerEvent(ServerEvent serverEvent) |
boolean |
notifyServerEventWithRevisionChecking(ServerEvent serverEvent,
String revision) |
boolean |
setStatus(ServiceUpdateTaskConstant.Status last,
ServiceUpdateTaskConstant.Status current,
boolean isSpread) |
addUpdateTaskSet, compareTo, execute, getEventHandler, getRefreshIntervalMs, getServiceEventKey, getTargetClusterType, getTaskStatus, getTaskType, retry, run, setLastUpdateTime, setStatus, setType, toStringpublic CompositeServiceUpdateTask(ServiceEventHandler handler, DestroyableServerConnector connector)
public boolean needUpdate()
needUpdate in class ServiceUpdateTaskpublic void execute()
execute in class ServiceUpdateTaskpublic boolean notifyServerEvent(ServerEvent serverEvent)
notifyServerEvent in class ServiceUpdateTaskpublic boolean setStatus(ServiceUpdateTaskConstant.Status last, ServiceUpdateTaskConstant.Status current, boolean isSpread)
setStatus in class ServiceUpdateTaskpublic boolean notifyServerEventWithRevisionChecking(ServerEvent serverEvent, String revision)
Copyright © 2024. All rights reserved.