public enum LlapDaemonInfo extends Enum<LlapDaemonInfo>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
long |
getCacheSize() |
long |
getExecutorMemory() |
long |
getMemoryPerExecutor() |
int |
getNumExecutors() |
String |
getPID() |
static void |
initialize(String appName,
org.apache.hadoop.conf.Configuration daemonConf) |
static void |
initialize(String appName,
int numExecutors,
long executorMemoryBytes,
long ioMemoryBytes,
boolean isDirectCache,
boolean isLlapIo,
String pid) |
boolean |
isDirectCache() |
boolean |
isLlap() |
boolean |
isLlapIo() |
static LlapDaemonInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LlapDaemonInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LlapDaemonInfo INSTANCE
public static LlapDaemonInfo[] values()
for (LlapDaemonInfo c : LlapDaemonInfo.values()) System.out.println(c);
public static LlapDaemonInfo valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static void initialize(String appName, org.apache.hadoop.conf.Configuration daemonConf)
public static void initialize(String appName, int numExecutors, long executorMemoryBytes, long ioMemoryBytes, boolean isDirectCache, boolean isLlapIo, String pid)
public boolean isLlap()
public int getNumExecutors()
public long getExecutorMemory()
public long getMemoryPerExecutor()
public long getCacheSize()
public boolean isDirectCache()
public boolean isLlapIo()
public String getPID()
Copyright © 2022 The Apache Software Foundation. All rights reserved.