public enum Liveness extends java.lang.Enum<Liveness>
These constants are used as parameters in various Connection methods.
| Enum Constant and Description |
|---|
ALL
Live and garbage collected objects.
|
GCED
Garbage collected objects only.
|
LIVE
Live objects only.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns a verbose description of the liveness type.
|
java.lang.String |
toString() |
static Liveness |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Liveness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Liveness LIVE
public static final Liveness GCED
public static final Liveness ALL
public static Liveness[] values()
for (Liveness c : Liveness.values()) System.out.println(c);
public static Liveness valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Enum<Liveness>