Enum InMemoryStrategy

java.lang.Object
java.lang.Enum<InMemoryStrategy>
org.rcsb.strucmotif.config.InMemoryStrategy
All Implemented Interfaces:
Serializable, Comparable<InMemoryStrategy>, java.lang.constant.Constable

public enum InMemoryStrategy extends Enum<InMemoryStrategy>
Keep structure data in memory? Requires ~30 GB of memory for 180k structures.
  • Enum Constant Details

    • OFF

      public static final InMemoryStrategy OFF
      Access file-system any time structure data is requested.
    • HEAP

      public static final InMemoryStrategy HEAP
      Load all data into heap during initialization.
  • Method Details

    • values

      public static InMemoryStrategy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static InMemoryStrategy 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