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
8 package org.opendaylight.controller.cluster.datastore;
10 import java.io.Serializable;
16 * @deprecated This is a deprecated placeholder to keep its inner class present. It serves no other purpose.
19 public final class ShardManager {
21 * We no longer persist SchemaContextModules but keep this class around for now for backwards
22 * compatibility so we don't get de-serialization failures on upgrade from Helium.
25 public static class SchemaContextModules implements Serializable {
26 private static final long serialVersionUID = -8884620101025936590L;
28 private final Set<String> modules;
30 public SchemaContextModules(Set<String> modules) {
31 this.modules = modules;
34 public Set<String> getModules() {
39 private ShardManager() {
40 throw new UnsupportedOperationException("deprecated outer class");