public class ResourceAmountsEstimator extends Object
Modifier and Type | Field and Description |
---|---|
static ResourceAmounts |
DEFAULT_AMOUNTS |
static int |
DEFAULT_CPU_AMOUNT |
static int |
DEFAULT_CPU_CAP
CPU resource amount is considered as number of cores.
|
static int |
DEFAULT_DISK_IO_AMOUNT |
static int |
DEFAULT_DISK_IO_CAP
Disk IO resource unit size has been chosen arbitrarily.
|
static int |
DEFAULT_MANAGED_THREAD_COUNT
Total number of threads Buck can use to schedule various work.
|
static ResourceAmounts |
DEFAULT_MAXIMUM_AMOUNTS |
static int |
DEFAULT_MEMORY_AMOUNT |
static int |
DEFAULT_MEMORY_CAP
Memory resource unit size has been chosen arbitrarily.
|
static int |
DEFAULT_NETWORK_IO_AMOUNT |
static int |
DEFAULT_NETWORK_IO_CAP
Network IO resource unit size has been chosen arbitrarily.
|
Modifier and Type | Method and Description |
---|---|
static ResourceAmounts |
getEstimatedAmounts() |
public static final int DEFAULT_CPU_CAP
public static final int DEFAULT_MEMORY_CAP
public static final int DEFAULT_DISK_IO_CAP
public static final int DEFAULT_NETWORK_IO_CAP
public static final ResourceAmounts DEFAULT_MAXIMUM_AMOUNTS
public static final int DEFAULT_MANAGED_THREAD_COUNT
public static final int DEFAULT_CPU_AMOUNT
public static final int DEFAULT_MEMORY_AMOUNT
public static final int DEFAULT_DISK_IO_AMOUNT
public static final int DEFAULT_NETWORK_IO_AMOUNT
public static final ResourceAmounts DEFAULT_AMOUNTS
public static ResourceAmounts getEstimatedAmounts()