2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.controller.cluster.raft.base.messages;
11 import akka.actor.ActorRef;
12 import org.opendaylight.controller.cluster.raft.ReplicatedLogEntry;
14 import java.io.Serializable;
16 public class ApplyState implements Serializable {
17 private final ActorRef clientActor;
18 private final String identifier;
19 private final ReplicatedLogEntry replicatedLogEntry;
21 public ApplyState(ActorRef clientActor, String identifier,
22 ReplicatedLogEntry replicatedLogEntry) {
23 this.clientActor = clientActor;
24 this.identifier = identifier;
25 this.replicatedLogEntry = replicatedLogEntry;
28 public ActorRef getClientActor() {
32 public String getIdentifier() {
36 public ReplicatedLogEntry getReplicatedLogEntry() {
37 return replicatedLogEntry;