public enum StreamerIndexPolicy extends Enum<StreamerIndexPolicy>
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 StreamerIndexPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamerIndexPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamerIndexPolicy EVENT_TRACKING_OFF
Only a value, generated by StreamerIndexUpdater
,
will be stored in an index; event objects will be thrown away.
public static final StreamerIndexPolicy EVENT_TRACKING_ON
All event objects will stored in an index along with the values,
generated by StreamerIndexUpdater
.
public static final StreamerIndexPolicy EVENT_TRACKING_ON_DEDUP
All event objects will stored in an index along with the values,
generated by StreamerIndexUpdater
. For duplicate (equal)
events, only a single event object will be stored, which corresponds
to a first event.
public static StreamerIndexPolicy[] values()
for (StreamerIndexPolicy c : StreamerIndexPolicy.values()) System.out.println(c);
public static StreamerIndexPolicy 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 null
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 16 2015