All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.clustering.singleton.server.SingletonServiceContext Maven / Gradle / Ivy

There is a newer version: 35.0.0.Final
Show newest version
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.singleton.server;

import org.jboss.msc.Service;
import org.jboss.msc.service.ServiceName;
import org.wildfly.clustering.server.GroupMember;
import org.wildfly.clustering.server.dispatcher.CommandDispatcherFactory;
import org.wildfly.clustering.server.provider.ServiceProviderRegistrar;
import org.wildfly.clustering.singleton.election.SingletonElectionListener;
import org.wildfly.clustering.singleton.election.SingletonElectionPolicy;

/**
 * @author Paul Ferraro
 */
public interface SingletonServiceContext {
    ServiceName getServiceName();
    Service getService();
    SingletonElectionListener getElectionListener();
    SingletonElectionPolicy getElectionPolicy();
    int getQuorum();
    ServiceProviderRegistrar getServiceProviderRegistrar();
    CommandDispatcherFactory getCommandDispatcherFactory();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy