@InterfaceAudience.Public @InterfaceStability.Stable public class ReconfigurationTaskStatus extends Object
Constructor and Description |
---|
ReconfigurationTaskStatus(long startTime,
long endTime,
Map<ReconfigurationUtil.PropertyChange,com.google.common.base.Optional<String>> status) |
Modifier and Type | Method and Description |
---|---|
long |
getEndTime() |
long |
getStartTime() |
Map<ReconfigurationUtil.PropertyChange,com.google.common.base.Optional<String>> |
getStatus() |
boolean |
hasTask()
Return true if
- A reconfiguration task has finished or
- an active reconfiguration task is running
|
boolean |
stopped()
Return true if the latest reconfiguration task has finished and there is
no another active task running.
|
public ReconfigurationTaskStatus(long startTime, long endTime, Map<ReconfigurationUtil.PropertyChange,com.google.common.base.Optional<String>> status)
public boolean hasTask()
public boolean stopped()
public long getStartTime()
public long getEndTime()
public final Map<ReconfigurationUtil.PropertyChange,com.google.common.base.Optional<String>> getStatus()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.