Enum Class SingletonValueCommand

java.lang.Object
java.lang.Enum<SingletonValueCommand>
org.wildfly.clustering.singleton.server.SingletonValueCommand
Type Parameters:
T - the service value type
All Implemented Interfaces:
Serializable, Comparable<SingletonValueCommand>, Constable, Command<Optional<Object>,LegacySingletonContext<Object>>, org.wildfly.clustering.server.dispatcher.Command<Optional<Object>,LegacySingletonContext<Object>,Exception>

@Deprecated public enum SingletonValueCommand extends Enum<SingletonValueCommand> implements Command<Optional<Object>,LegacySingletonContext<Object>>
Deprecated.
Command to support Value.getValue() invocations for legacy MSC singleton services.
Author:
Paul Ferraro
  • Enum Constant Details

  • Method Details

    • values

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

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

      public Optional<Object> execute(LegacySingletonContext<Object> context)
      Deprecated.
      Specified by:
      execute in interface org.wildfly.clustering.server.dispatcher.Command<Optional<Object>,LegacySingletonContext<Object>,Exception>