Enum Class DataDistributionMode
java.lang.Object
java.lang.Enum<DataDistributionMode>
org.exoplatform.services.jcr.ext.distribution.DataDistributionMode
- All Implemented Interfaces:
Serializable,Comparable<DataDistributionMode>,Constable
The existing data distribution modes are the following:
- Readable mode that is used to store the data in an understandable way for a human
being, corresponding to
DataDistributionMode.READABLE. - Optimized mode that is used when we don't need to be able to understand
how it is stored, we only want to have the best possible performances,
corresponding to
DataDistributionMode.OPTIMIZED. - None mode that is used when we just want to store the node
as it is without using any distribution algorithm. This is mostly
interesting as helper to create a hierarchy of nodes in a reliable way
when we already know that we have only few nodes to store,
corresponding to
DataDistributionMode.NONE.
- Version:
- $Id$
- Author:
- Nicolas Filotto
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic DataDistributionModeReturns the enum constant of this class with the specified name.static DataDistributionMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READABLE
-
OPTIMIZED
-
NONE
-
-
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
-