com.atlassian.confluence.search.lucene
Enum ConfluenceIndexManager.IndexQueueFlushMode
java.lang.Object
java.lang.Enum<ConfluenceIndexManager.IndexQueueFlushMode>
com.atlassian.confluence.search.lucene.ConfluenceIndexManager.IndexQueueFlushMode
- All Implemented Interfaces:
- Serializable, Comparable<ConfluenceIndexManager.IndexQueueFlushMode>
- Enclosing interface:
- ConfluenceIndexManager
public static enum ConfluenceIndexManager.IndexQueueFlushMode
- extends Enum<ConfluenceIndexManager.IndexQueueFlushMode>
Enum indicating the mode in which to flush the queue.
ENTIRE_QUEUE, ONLY_FIRST_BATCH
ENTIRE_QUEUE
public static final ConfluenceIndexManager.IndexQueueFlushMode ENTIRE_QUEUE
ONLY_FIRST_BATCH
public static final ConfluenceIndexManager.IndexQueueFlushMode ONLY_FIRST_BATCH
values
public static ConfluenceIndexManager.IndexQueueFlushMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ConfluenceIndexManager.IndexQueueFlushMode c : ConfluenceIndexManager.IndexQueueFlushMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConfluenceIndexManager.IndexQueueFlushMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null