Class MemoryParam

Object
org.apache.spark.util.MemoryParam

public class MemoryParam extends Object
An extractor object for parsing JVM memory strings, such as "10g", into an Int representing the number of megabytes. Supports the same formats as Utils.memoryStringToMb.
  • Constructor Details

    • MemoryParam

      public MemoryParam()
  • Method Details

    • unapply

      public static scala.Option<Object> unapply(String str)