public class RoleHistoryUtils extends Object
| Constructor and Description |
|---|
RoleHistoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
decToFloor(int val)
Decrement a value but hold it at zero.
|
static String |
hostnameOf(org.apache.hadoop.yarn.api.records.Container container) |
public static String hostnameOf(org.apache.hadoop.yarn.api.records.Container container)
public static int decToFloor(int val)
val - valueCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.