Enum Class DataDistributionMode

java.lang.Object
java.lang.Enum<DataDistributionMode>
org.exoplatform.services.jcr.ext.distribution.DataDistributionMode
All Implemented Interfaces:
Serializable, Comparable<DataDistributionMode>, Constable

public enum DataDistributionMode extends Enum<DataDistributionMode>
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
  • Enum Constant Details

  • Method Details

    • values

      public static DataDistributionMode[] 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

      public static DataDistributionMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null