Class RelativeByteSizeValue

java.lang.Object
org.elasticsearch.common.unit.RelativeByteSizeValue
All Implemented Interfaces:
Writeable

public class RelativeByteSizeValue extends Object implements Writeable
A byte size value that allows specification using either of: 1. Absolute value (200GB for instance) 2. Relative percentage value (95%) 3. Relative ratio value (0.95)
  • Constructor Details

    • RelativeByteSizeValue

      public RelativeByteSizeValue(ByteSizeValue absolute)
    • RelativeByteSizeValue

      public RelativeByteSizeValue(RatioValue ratio)
  • Method Details