public enum RLIMIT extends Enum<RLIMIT> implements Constant
Enum Constant and Description |
---|
RLIMIT_CORE |
RLIMIT_CPU |
RLIMIT_DATA |
RLIMIT_FSIZE |
RLIMIT_MEMLOCK |
RLIMIT_NOFILE |
RLIMIT_NPROC |
RLIMIT_RSS |
RLIMIT_STACK |
Modifier and Type | Field and Description |
---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
Modifier and Type | Method and Description |
---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
int |
value() |
static RLIMIT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RLIMIT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RLIMIT RLIMIT_CORE
public static final RLIMIT RLIMIT_CPU
public static final RLIMIT RLIMIT_DATA
public static final RLIMIT RLIMIT_FSIZE
public static final RLIMIT RLIMIT_MEMLOCK
public static final RLIMIT RLIMIT_NOFILE
public static final RLIMIT RLIMIT_NPROC
public static final RLIMIT RLIMIT_RSS
public static final RLIMIT RLIMIT_STACK
public static final long MIN_VALUE
public static final long MAX_VALUE
public static RLIMIT[] values()
for (RLIMIT c : RLIMIT.values()) System.out.println(c);
public static RLIMIT 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 final int value()
Copyright © 2017. All Rights Reserved.