org.apache.hadoop.conf
Class ReconfigurationTaskStatus
java.lang.Object
org.apache.hadoop.conf.ReconfigurationTaskStatus
@InterfaceAudience.Public
@InterfaceStability.Stable
public class ReconfigurationTaskStatus
- extends Object
Constructor Summary |
ReconfigurationTaskStatus(long startTime,
long endTime,
Map<org.apache.hadoop.conf.ReconfigurationUtil.PropertyChange,com.google.common.base.Optional<String>> status)
|
Method Summary |
long |
getEndTime()
|
long |
getStartTime()
|
Map<org.apache.hadoop.conf.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. |
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<org.apache.hadoop.conf.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<org.apache.hadoop.conf.ReconfigurationUtil.PropertyChange,com.google.common.base.Optional<String>> getStatus()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.