Class SingletonElectionCommand

  • All Implemented Interfaces:
    Serializable, org.wildfly.clustering.dispatcher.Command<Void,​org.wildfly.clustering.singleton.SingletonElectionListener>

    public class SingletonElectionCommand
    extends Object
    implements org.wildfly.clustering.dispatcher.Command<Void,​org.wildfly.clustering.singleton.SingletonElectionListener>
    Author:
    Paul Ferraro
    See Also:
    Serialized Form
    • Constructor Detail

      • SingletonElectionCommand

        public SingletonElectionCommand​(List<org.wildfly.clustering.group.Node> candidates,
                                        org.wildfly.clustering.group.Node elected)
    • Method Detail

      • execute

        public Void execute​(org.wildfly.clustering.singleton.SingletonElectionListener context)
        Specified by:
        execute in interface org.wildfly.clustering.dispatcher.Command<Void,​org.wildfly.clustering.singleton.SingletonElectionListener>