Enum Class WebResourceRoot.ArchiveIndexStrategy
java.lang.Object
java.lang.Enum<WebResourceRoot.ArchiveIndexStrategy>
org.apache.catalina.WebResourceRoot.ArchiveIndexStrategy
- All Implemented Interfaces:
Serializable, Comparable<WebResourceRoot.ArchiveIndexStrategy>, Constable
- Enclosing interface:
WebResourceRoot
public static enum WebResourceRoot.ArchiveIndexStrategy
extends Enum<WebResourceRoot.ArchiveIndexStrategy>
Strategies for archive indexing.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this strategy retains the index.booleanReturns whether this strategy uses a bloom filter.Returns the enum constant of this class with the specified name.static WebResourceRoot.ArchiveIndexStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIMPLE
Simple strategy - no bloom filter, no retention. -
BLOOM
Bloom filter strategy with retention. -
PURGED
Bloom filter strategy without retention.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getUsesBloom
public boolean getUsesBloom()Returns whether this strategy uses a bloom filter.- Returns:
trueif bloom filter is used
-
getRetain
public boolean getRetain()Returns whether this strategy retains the index.- Returns:
trueif index is retained
-