public class SparkExecutorInfoImpl extends Object implements SparkExecutorInfo
Constructor and Description |
---|
SparkExecutorInfoImpl(String host,
int port,
long cacheSize,
int numRunningTasks,
long usedOnHeapStorageMemory,
long usedOffHeapStorageMemory,
long totalOnHeapStorageMemory,
long totalOffHeapStorageMemory) |
Modifier and Type | Method and Description |
---|---|
long |
cacheSize() |
String |
host() |
int |
numRunningTasks() |
int |
port() |
long |
totalOffHeapStorageMemory() |
long |
totalOnHeapStorageMemory() |
long |
usedOffHeapStorageMemory() |
long |
usedOnHeapStorageMemory() |
public SparkExecutorInfoImpl(String host, int port, long cacheSize, int numRunningTasks, long usedOnHeapStorageMemory, long usedOffHeapStorageMemory, long totalOnHeapStorageMemory, long totalOffHeapStorageMemory)
public long cacheSize()
cacheSize
in interface SparkExecutorInfo
public String host()
host
in interface SparkExecutorInfo
public int numRunningTasks()
numRunningTasks
in interface SparkExecutorInfo
public int port()
port
in interface SparkExecutorInfo
public long totalOffHeapStorageMemory()
totalOffHeapStorageMemory
in interface SparkExecutorInfo
public long totalOnHeapStorageMemory()
totalOnHeapStorageMemory
in interface SparkExecutorInfo
public long usedOffHeapStorageMemory()
usedOffHeapStorageMemory
in interface SparkExecutorInfo
public long usedOnHeapStorageMemory()
usedOnHeapStorageMemory
in interface SparkExecutorInfo