public enum CollectionStatus extends Enum<CollectionStatus>
Enum Constant and Description |
---|
DELETED
deleted state
|
IN_THE_PROCESS_OF_BEING_UNLOADED
temporary state of a collection in the process of being unloaded
|
LOADED
collection is in memory
|
NEW_BORN_COLLECTION
initial state of a new collection
|
UNLOADED
collection is not in memory
|
Modifier and Type | Method and Description |
---|---|
int |
status() |
static CollectionStatus |
valueOf(int status) |
static CollectionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionStatus NEW_BORN_COLLECTION
public static final CollectionStatus UNLOADED
public static final CollectionStatus LOADED
public static final CollectionStatus IN_THE_PROCESS_OF_BEING_UNLOADED
public static final CollectionStatus DELETED
public static CollectionStatus[] values()
for (CollectionStatus c : CollectionStatus.values()) System.out.println(c);
public static CollectionStatus 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 int status()
public static CollectionStatus valueOf(int status)
Copyright © 2012–2016 ArangoDB GmbH. All rights reserved.