2 * Copyright (c) 2019 Ericsson India Global Services Pvt Ltd. 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.genius.mdsalutil.interfaces;
10 import java.util.List;
12 public interface ShardStatusMonitor {
14 String JMX_OBJECT_NAME_LIST_OF_CONFIG_SHARDS =
15 "org.opendaylight.controller:type=DistributedConfigDatastore,"
16 + "Category=ShardManager,name=shard-manager-config";
17 String JMX_OBJECT_NAME_LIST_OF_OPER_SHARDS =
18 "org.opendaylight.controller:type=DistributedOperationalDatastore,"
19 + "Category=ShardManager,name=shard-manager-operational";
21 boolean getShardStatus(List<String> shards);