public enum SpoiledReferenceStrategy extends Enum<SpoiledReferenceStrategy>
Enum Constant and Description |
---|
DELETE
Deleting spoiled references sends them to the Committer
for deletions and they are removed from the internal reference cache.
|
GRACE_ONCE
Gracing spoiled references gives them one chance (and only one) to
recover by not sending a deletion request to the Committer the first
time, but doing so if the reference is still spoiled on the next
crawl.
|
IGNORE
Ignoring spoiled references does not send a deletion request to the
Committer.
|
Modifier and Type | Method and Description |
---|---|
static SpoiledReferenceStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpoiledReferenceStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpoiledReferenceStrategy DELETE
public static final SpoiledReferenceStrategy GRACE_ONCE
public static final SpoiledReferenceStrategy IGNORE
public static SpoiledReferenceStrategy[] values()
for (SpoiledReferenceStrategy c : SpoiledReferenceStrategy.values()) System.out.println(c);
public static SpoiledReferenceStrategy 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–2023 Norconex Inc.. All rights reserved.