X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fclient%2Fmessages%2FShutdown.java;fp=opendaylight%2Fmd-sal%2Fsal-akka-raft%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fraft%2Fclient%2Fmessages%2FShutdown.java;h=930a4b0471f5152b4abe3f08b45b81198c67f675;hb=4e000b89c3b5ac555cb1e2c39e999a8633b48a96;hp=0000000000000000000000000000000000000000;hpb=db8fed63e18fccd2721fa7e189b2278a4f240f2c;p=controller.git diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/Shutdown.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/Shutdown.java new file mode 100644 index 0000000000..930a4b0471 --- /dev/null +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/Shutdown.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +package org.opendaylight.controller.cluster.raft.client.messages; + +import java.io.Serializable; + +/** + * Message sent to a raft actor to shutdown gracefully. If it's the leader it will transfer leadership to a + * follower. As its last act, the actor self-destructs via a PoisonPill. + * + * @author Thomas Pantelis + */ +public class Shutdown implements Serializable { + private static final long serialVersionUID = 1L; +}