public enum GridStreamerIndexPolicy extends Enum<GridStreamerIndexPolicy>
| Enum Constant and Description |
|---|
EVENT_TRACKING_OFF
Do not track events.
|
EVENT_TRACKING_ON
Track events.
|
EVENT_TRACKING_ON_DEDUP
Track events with de-duplication.
|
| Modifier and Type | Method and Description |
|---|---|
static GridStreamerIndexPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridStreamerIndexPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridStreamerIndexPolicy EVENT_TRACKING_OFF
Only a value, generated by GridStreamerIndexUpdater,
will be stored in an index; event objects will be thrown away.
public static final GridStreamerIndexPolicy EVENT_TRACKING_ON
All event objects will stored in an index along with the values,
generated by GridStreamerIndexUpdater.
public static final GridStreamerIndexPolicy EVENT_TRACKING_ON_DEDUP
All event objects will stored in an index along with the values,
generated by GridStreamerIndexUpdater. For duplicate (equal)
events, only a single event object will be stored, which corresponds
to a first event.
public static GridStreamerIndexPolicy[] values()
for (GridStreamerIndexPolicy c : GridStreamerIndexPolicy.values()) System.out.println(c);
public static GridStreamerIndexPolicy 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 © 2014. All rights reserved.