blob: ca8df1a57b27eefc93b2e4ea091a4eec395d2148 [file] [log] [blame]
Ray Milkey88dd7e22018-10-24 10:04:03 -07001/*
2 * Copyright 2018-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.transactionperf;
18
19/**
20 * Name/Value constants for properties.
21 */
22public final class OsgiPropertyConstants {
23 private OsgiPropertyConstants() {
24 }
25
26 public static final String MAP_NAME = "mapName";
27 public static final String MAP_NAME_DEFAULT = "transaction-perf";
28
29 public static final String READ_PERCENTAGE = "readPercentage";
30 public static final double READ_PERCENTAGE_DEFAULT = .9;
31
32 public static final String TOTAL_OPERATIONS = "totalOperationsPerTransaction";
33 public static final int TOTAL_OPERATIONS_DEFAULT = 1000;
34
35 public static final String WITH_CONTENTION = "withContention";
36 public static final boolean WITH_CONTENTION_DEFAULT = false;
37
38 public static final String WITH_RETRIES = "withRetries";
39 public static final boolean WITH_RETRIES_DEFAULT = false;
40
41 public static final String REPORT_INTERVAL_SECONDS = "reportIntervalSeconds";
42 public static final int REPORT_INTERVAL_SECONDS_DEFAULT = 1;
43}