Enum GlusterVolumeType

    • Enum Constant Detail

      • DISPERSE

        public static final GlusterVolumeType DISPERSE
        Dispersed volumes are based on erasure codes, providing space-efficient protection against disk or server failures. Dispersed volumes an encoded fragment of the original file to each brick in a way that only a subset of the fragments is needed to recover the original file. The number of bricks that can be missing without losing access to data is configured by the administrator on volume creation time.
      • DISTRIBUTE

        public static final GlusterVolumeType DISTRIBUTE
        Distributed volumes distributes files throughout the bricks in the volume. Distributed volumes can be used where the requirement is to scale storage and the redundancy is either not important or is provided by other hardware/software layers.
      • DISTRIBUTED_DISPERSE

        public static final GlusterVolumeType DISTRIBUTED_DISPERSE
        Distributed dispersed volumes distribute files across dispersed subvolumes. This has the same advantages of distribute replicate volumes, but using disperse to store the data into the bricks.
      • DISTRIBUTED_REPLICATE

        public static final GlusterVolumeType DISTRIBUTED_REPLICATE
        Distributed replicated volumes distributes files across replicated bricks in the volume. Distributed replicated volumes can be used in environments where the requirement is to scale storage and high-reliability is critical. Distributed replicated volumes also offer improved read performance in most environments.
      • DISTRIBUTED_STRIPE

        public static final GlusterVolumeType DISTRIBUTED_STRIPE
        Distributed striped volumes stripe data across two or more nodes in the cluster. Distributed striped volumes should be used where the requirement is to scale storage and in high concurrency environments accessing very large files is critical. Note: With the introduction of Sharding in Glusterfs 3.7 releases, striped volumes are not recommended and it will be removed in future release.
      • DISTRIBUTED_STRIPED_REPLICATE

        public static final GlusterVolumeType DISTRIBUTED_STRIPED_REPLICATE
        Distributed striped replicated volumes distributes striped data across replicated bricks in the cluster. For best results, distributed striped replicated volumes should be used in highly concurrent environments where parallel access of very large files and performance is critical. Note: With the introduction of Sharding in Glusterfs 3.7 releases, striped volumes are not recommended and it will be removed in future release.
      • REPLICATE

        public static final GlusterVolumeType REPLICATE
        Replicated volumes replicates files across bricks in the volume. Replicated volumes can be used in environments where high-availability and high-reliability are critical.
      • STRIPE

        public static final GlusterVolumeType STRIPE
        Striped volumes stripes data across bricks in the volume. For best results, striped volumes should only in high concurrency environments accessing very large files. Note: With the introduction of Sharding in Glusterfs 3.7 releases, striped volumes are not recommended and it will be removed in future release.
      • STRIPED_REPLICATE

        public static final GlusterVolumeType STRIPED_REPLICATE
        Striped replicated volumes stripes data across replicated bricks in the cluster. For best results, striped replicated volumes should be used in highly concurrent environments where there is parallel access of very large files and performance is critical. Note: With the introduction of Sharding in Glusterfs 3.7 releases, striped volumes are not recommended and it will be removed in future release.
    • Method Detail

      • values

        public static GlusterVolumeType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GlusterVolumeType c : GlusterVolumeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GlusterVolumeType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()