blob: 1f4555db12f3036715da85de59c5ed6b2aa85e69 [file] [log] [blame]
Ray Milkeyb5646e62018-10-16 11:42:18 -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.store;
18
19/**
20 * Name/Value constants for properties.
21 */
22public final class OsgiPropertyConstants {
23 private OsgiPropertyConstants() {
24 }
25
Ray Milkey2d7bca12018-10-17 14:51:52 -070026 public static final String MESSAGE_HANDLER_THREAD_POOL_SIZE = "msgHandlerPoolSize";
Ray Milkeyb5646e62018-10-16 11:42:18 -070027 public static final int MESSAGE_HANDLER_THREAD_POOL_SIZE_DEFAULT = 8;
28
Ray Milkey2d7bca12018-10-17 14:51:52 -070029 public static final String BACKUP_PERIOD_MILLIS = "backupPeriod";
Ray Milkeyb5646e62018-10-16 11:42:18 -070030 public static final int BACKUP_PERIOD_MILLIS_DEFAULT = 2000;
31
Ray Milkey2d7bca12018-10-17 14:51:52 -070032 public static final String ANTI_ENTROPY_PERIOD_MILLIS = "antiEntropyPeriod";
Ray Milkeyb5646e62018-10-16 11:42:18 -070033 public static final int ANTI_ENTROPY_PERIOD_MILLIS_DEFAULT = 5000;
34
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070035 public static final String EC_FLOW_RULE_STORE_PERSISTENCE_ENABLED = "flowRuleStorePersistenceEnabled";
Ray Milkeyb5646e62018-10-16 11:42:18 -070036 public static final boolean EC_FLOW_RULE_STORE_PERSISTENCE_ENABLED_DEFAULT = false;
37
Ray Milkey2d7bca12018-10-17 14:51:52 -070038 public static final String MAX_BACKUP_COUNT = "backupCount";
Ray Milkeyb5646e62018-10-16 11:42:18 -070039 public static final int MAX_BACKUP_COUNT_DEFAULT = 2;
40
Ray Milkey2d7bca12018-10-17 14:51:52 -070041 public static final String ELECTION_TIMEOUT_MILLIS = "electionTimeoutMillis";
Ray Milkeyb5646e62018-10-16 11:42:18 -070042 public static final long ELECTION_TIMEOUT_MILLIS_DEFAULT = 2500;
43
Ray Milkey2d7bca12018-10-17 14:51:52 -070044 public static final String GARBAGE_COLLECT = "garbageCollect";
Ray Milkeyb5646e62018-10-16 11:42:18 -070045 public static final boolean GARBAGE_COLLECT_DEFAULT = false;
46
Ray Milkey2d7bca12018-10-17 14:51:52 -070047 public static final String GARBAGE_COLLECT_THRESH = "gcThresh";
Ray Milkeyb5646e62018-10-16 11:42:18 -070048 public static final int GARBAGE_COLLECT_THRESH_DEFAULT = 6;
49
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070050 public static final String ALLOW_EXTRANEOUS_GROUPS = "allowExtraneousGroups";
Ray Milkeyb5646e62018-10-16 11:42:18 -070051 public static final boolean ALLOW_EXTRANEOUS_GROUPS_DEFAULT = false;
52
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070053 public static final String GIS_PERSISTENCE_ENABLED = "persistenceEnabled";
Ray Milkeyb5646e62018-10-16 11:42:18 -070054 public static final boolean GIS_PERSISTENCE_ENABLED_DEFAULT = false;
55
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070056 public static final String DPS_MESSAGE_HANDLER_THREAD_POOL_SIZE = "messageHandlerThreadPoolSize";
Ray Milkeyb5646e62018-10-16 11:42:18 -070057 public static final int DPS_MESSAGE_HANDLER_THREAD_POOL_SIZE_DEFAULT = 4;
58
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070059 public static final String DFS_MESSAGE_HANDLER_THREAD_POOL_SIZE = "messageHandlerThreadPoolSize";
Ray Milkeyb5646e62018-10-16 11:42:18 -070060 public static final int DFS_MESSAGE_HANDLER_THREAD_POOL_SIZE_DEFAULT = 4;
61
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070062 public static final String DSS_MESSAGE_HANDLER_THREAD_POOL_SIZE = "messageHandlerThreadPoolSize";
Ray Milkeyb5646e62018-10-16 11:42:18 -070063 public static final int DSS_MESSAGE_HANDLER_THREAD_POOL_SIZE_DEFAULT = 4;
64
Ray Milkeyb5646e62018-10-16 11:42:18 -070065 public static final String LINK_WEIGHT_FUNCTION = "linkWeightFunction";
66 public static final String LINK_WEIGHT_FUNCTION_DEFAULT = "hopCount";
67}