public static enum DefaultIndexEngine.FlushPolicy extends Enum<DefaultIndexEngine.FlushPolicy>
| Enum Constant and Description | 
|---|
CLOSE
Close the writer after performing the write. 
 | 
FLUSH
Commit the writer's pending updates, do not close. 
 | 
NONE
Do not flush or close. 
 | 
PERIODIC
Commit the writer's pending updates, from time to time 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static DefaultIndexEngine.FlushPolicy | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static DefaultIndexEngine.FlushPolicy[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final DefaultIndexEngine.FlushPolicy NONE
public static final DefaultIndexEngine.FlushPolicy FLUSH
public static final DefaultIndexEngine.FlushPolicy PERIODIC
public static final DefaultIndexEngine.FlushPolicy CLOSE
public static DefaultIndexEngine.FlushPolicy[] values()
for (DefaultIndexEngine.FlushPolicy c : DefaultIndexEngine.FlushPolicy.values()) System.out.println(c);
public static DefaultIndexEngine.FlushPolicy 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 nullCopyright © 2002-2018 Atlassian. All Rights Reserved.