Make cds-mgmt-api a JPMS module
[controller.git] / opendaylight / md-sal / cds-mgmt-api / src / main / java / org / opendaylight / controller / cluster / datastore / jmx / mbeans / DatastoreConfigurationMXBean.java
1 /*
2  * Copyright (c) 2015 Brocade Communications Systems, Inc. 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.controller.cluster.datastore.jmx.mbeans;
9
10 import javax.management.MXBean;
11
12 /**
13  * MXBean interface for data store configuration.
14  *
15  * @author Thomas Pantelis
16  */
17 @MXBean
18 public interface DatastoreConfigurationMXBean {
19     long getShardTransactionIdleTimeoutInSeconds();
20
21     long getOperationTimeoutInSeconds();
22
23     long getShardHeartbeatIntervalInMillis();
24
25     int getShardJournalRecoveryLogBatchSize();
26
27     long getShardIsolatedLeaderCheckIntervalInMillis();
28
29     long getShardElectionTimeoutFactor();
30
31     int getShardSnapshotDataThresholdPercentage();
32
33     int getShardSnapshotDataThreshold();
34
35     long getShardSnapshotBatchCount();
36
37     long getShardTransactionCommitTimeoutInSeconds();
38
39     int getShardTransactionCommitQueueCapacity();
40
41     long getShardCommitQueueExpiryTimeoutInSeconds();
42
43     long getShardInitializationTimeoutInSeconds();
44
45     long getShardLeaderElectionTimeoutInSeconds();
46
47     boolean isPersistent();
48
49     long getTransactionCreationInitialRateLimit();
50
51     boolean getTransactionContextDebugEnabled();
52
53     int getMaximumMessageSliceSize();
54 }