2 * Copyright (c) 2016 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
8 package org.opendaylight.controller.cluster.datastore.actors.client;
10 import akka.actor.ActorRef;
11 import com.google.common.annotations.Beta;
12 import com.google.common.base.Preconditions;
13 import org.opendaylight.controller.cluster.access.concepts.ClientIdentifier;
14 import org.opendaylight.yangtools.concepts.Identifiable;
17 * An actor context associated with this {@link AbstractClientActor}
19 * @author Robert Varga
22 public final class ClientActorContext extends AbstractClientActorContext implements Identifiable<ClientIdentifier> {
23 private final ClientIdentifier identifier;
25 ClientActorContext(final ActorRef self, final String persistenceId, final ClientIdentifier identifier) {
26 super(self, persistenceId);
27 this.identifier = Preconditions.checkNotNull(identifier);
31 public ClientIdentifier getIdentifier() {