Enum ClientRegionShortcut

  • java.lang.Object
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CACHING_PROXY
      A CACHING_PROXY region has local state but can also send operations to a server.
      CACHING_PROXY_HEAP_LRU
      A CACHING_PROXY_HEAP_LRU region has local state but can also send operations to a server.
      CACHING_PROXY_OVERFLOW
      A CACHING_PROXY_OVERFLOW region has local state but can also send operations to a server.
      LOCAL
      A LOCAL region only has local state and never sends operations to a server.
      LOCAL_HEAP_LRU
      A LOCAL_HEAP_LRU region only has local state and never sends operations to a server.
      LOCAL_OVERFLOW
      A LOCAL_OVERFLOW region only has local state and never sends operations to a server.
      LOCAL_PERSISTENT
      A LOCAL_PERSISTENT region only has local state and never sends operations to a server but it does write its state to disk and can recover that state when the region is created.
      LOCAL_PERSISTENT_OVERFLOW
      A LOCAL_PERSISTENT_OVERFLOW region only has local state and never sends operations to a server but it does write its state to disk and can recover that state when the region is created.
      PROXY
      A PROXY region has no local state and forwards all operations to a server.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ClientRegionShortcut valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ClientRegionShortcut[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static ClientRegionShortcut[] 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 (ClientRegionShortcut c : ClientRegionShortcut.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ClientRegionShortcut valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null