Shard Status logic in genius
[genius.git] / mdsalutil / mdsalutil-api / src / main / java / org / opendaylight / genius / mdsalutil / interfaces / ShardStatusMonitor.java
1 /*
2  * Copyright (c) 2019 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.genius.mdsalutil.interfaces;
9
10 import java.util.List;
11
12 public interface ShardStatusMonitor {
13
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";
20
21     boolean getShardStatus(List<String> shards);
22 }