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

io.zeebe.broker.clustering.management.ClusterManagerContext Maven / Gradle / Ivy

/*
 * Zeebe Broker Core
 * Copyright © 2017 camunda services GmbH ([email protected])
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see .
 */
package io.zeebe.broker.clustering.management;

import io.zeebe.broker.clustering.management.memberList.MemberListService;
import io.zeebe.broker.logstreams.LogStreamsManager;
import io.zeebe.broker.system.deployment.handler.WorkflowRequestMessageHandler;
import io.zeebe.gossip.Gossip;
import io.zeebe.transport.BufferingServerTransport;
import io.zeebe.transport.ClientTransport;
import io.zeebe.util.sched.ActorScheduler;

public class ClusterManagerContext
{
    private ActorScheduler actorScheduler;
    private LogStreamsManager logStreamsManager;
    private WorkflowRequestMessageHandler workflowRequestMessageHandler;
    private ClientTransport managementClient;
    private ClientTransport replicationClient;
    private BufferingServerTransport serverTransport;
    private Gossip gossip;
    private MemberListService memberListService;

    public ActorScheduler getActorScheduler()
    {
        return actorScheduler;
    }

    public void setActorScheduler(ActorScheduler actorScheduler)
    {
        this.actorScheduler = actorScheduler;
    }

    public Gossip getGossip()
    {
        return gossip;
    }

    public void setGossip(Gossip gossip)
    {
        this.gossip = gossip;
    }

    public MemberListService getMemberListService()
    {
        return memberListService;
    }

    public void setMemberListService(MemberListService memberListService)
    {
        this.memberListService = memberListService;
    }

    public BufferingServerTransport getServerTransport()
    {
        return serverTransport;
    }

    public void setServerTransport(BufferingServerTransport serverTransport)
    {
        this.serverTransport = serverTransport;
    }

    public ClientTransport getManagementClient()
    {
        return managementClient;
    }

    public void setManagementClient(ClientTransport clientTransport)
    {
        this.managementClient = clientTransport;
    }

    public ClientTransport getReplicationClient()
    {
        return replicationClient;
    }

    public void setReplicationClient(ClientTransport replicationClient)
    {
        this.replicationClient = replicationClient;
    }

    public LogStreamsManager getLogStreamsManager()
    {
        return logStreamsManager;
    }

    public void setLogStreamsManager(LogStreamsManager logStreamsManager)
    {
        this.logStreamsManager = logStreamsManager;
    }

    public WorkflowRequestMessageHandler getWorkflowRequestMessageHandler()
    {
        return workflowRequestMessageHandler;
    }

    public void setWorkflowRequestMessageHandler(WorkflowRequestMessageHandler workflowRequestMessageHandler)
    {
        this.workflowRequestMessageHandler = workflowRequestMessageHandler;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy