public enum ReindexOnUpdate extends Enum<ReindexOnUpdate>
A "value" here means either an entity property or something extracted from that property
using a ContainerValueExtractor
.
Enum Constant and Description |
---|
DEFAULT
Apply the default, safe behavior:
If a parent value was assigned
NO , ignore an updates to this value.
Otherwise, track updates to this value, or any nested value,
but only if they are used in the indexing process. |
NO
Ignore updates to the values (or to any nested value)
and as a consequence never trigger reindexing,
unless an indexed entity is deleted or another, sibling value configured with
DEFAULT is updated. |
Modifier and Type | Method and Description |
---|---|
static ReindexOnUpdate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReindexOnUpdate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReindexOnUpdate DEFAULT
NO
, ignore an updates to this value.IndexedEmbedded
for example.
Note that updates to nested values that were assigned NO
will always be ignored.
public static final ReindexOnUpdate NO
DEFAULT
is updated.
This generally means indexing should be triggered externally to periodically refresh the index.
public static ReindexOnUpdate[] values()
for (ReindexOnUpdate c : ReindexOnUpdate.values()) System.out.println(c);
public static ReindexOnUpdate 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 © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.