org.apache.hadoop.conf
Class ReconfigurationTaskStatus
java.lang.Object
org.apache.hadoop.conf.ReconfigurationTaskStatus
@InterfaceAudience.Public
@InterfaceStability.Stable
public class ReconfigurationTaskStatus
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReconfigurationTaskStatus
public ReconfigurationTaskStatus(long startTime,
long endTime,
Map<ReconfigurationUtil.PropertyChange,com.google.common.base.Optional<String>> status)
hasTask
public boolean hasTask()
- Return true if
- A reconfiguration task has finished or
- an active reconfiguration task is running
stopped
public boolean stopped()
- Return true if the latest reconfiguration task has finished and there is
no another active task running.
getStartTime
public long getStartTime()
getEndTime
public long getEndTime()
getStatus
public final Map<ReconfigurationUtil.PropertyChange,com.google.common.base.Optional<String>> getStatus()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.