Package de.elo.ix.client
Enum Class FindResultAccessMode
- All Implemented Interfaces:
Serializable
,Comparable<FindResultAccessMode>
,Constable
This constants are used to control the caching of find results.
- Since:
- 11.00.000.033
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFind results are cached inside Indexserver.Find results may not be cached inside Indexserver. -
Method Summary
Modifier and TypeMethodDescriptionstatic FindResultAccessMode
Returns the enum constant of this class with the specified name.static FindResultAccessMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RANDOM
Find results are cached inside Indexserver. This value allows to call a findNext-function for already delivered results. The client application has random access to all results as long as findClose has not been called. -
SEQUENTIAL
Find results may not be cached inside Indexserver. A findNext-function can only address results that have not already been delivered. The client application has to sequentially read the results. This mode can save memory on the server.
-
-
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
-