X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FGetKnownClients.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FGetKnownClients.java;h=f1e7fb70b5b37fb8eede14673c3fdcbdca2a92f5;hp=0000000000000000000000000000000000000000;hb=e32959e0bbc326f47c30ed7347f9a9af26813f89;hpb=ad25c22e88b3f1d5674e5d6480b15b54e66b8215 diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/GetKnownClients.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/GetKnownClients.java new file mode 100644 index 0000000000..f1e7fb70b5 --- /dev/null +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/GetKnownClients.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2019 PANTHEON.tech, s.r.o. 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.datastore.messages; + +import java.io.Serializable; +import org.eclipse.jdt.annotation.NonNull; + +/** + * Request a shard to report the clients it knows about. Shard is required to respond with {@link GetKnownClientsReply}. + */ +public final class GetKnownClients implements Serializable { + private static final long serialVersionUID = 1L; + + public static final @NonNull GetKnownClients INSTANCE = new GetKnownClients(); + + private GetKnownClients() { + + } + + private Object readResolve() { + return INSTANCE; + } +}