blob: 39bc5b018113610e21a6e1d68b1c18566db1a0b6 [file] [log] [blame]
Thomas Vachuskaedf9c4d2018-10-15 19:14:19 -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
Thomas Vachuska52f2cd12018-11-08 21:20:04 -080017package org.onosproject.incubator.net.virtual.store.impl;
Thomas Vachuskaedf9c4d2018-10-15 19:14:19 -070018
19/**
20 * Constants for default values of configurable properties.
21 */
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070022public final class OsgiPropertyConstants {
Thomas Vachuskaedf9c4d2018-10-15 19:14:19 -070023
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070024 private OsgiPropertyConstants() {}
Thomas Vachuskaedf9c4d2018-10-15 19:14:19 -070025
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070026 public static final String MESSAGE_HANDLER_THREAD_POOL_SIZE = "messageHandlerThreadPoolSize";
Thomas Vachuskaedf9c4d2018-10-15 19:14:19 -070027 public static final int MESSAGE_HANDLER_THREAD_POOL_SIZE_DEFAULT = 4;
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070028
29 public static final String BACKUP_PERIOD_MILLIS = "backupPeriod";
Thomas Vachuskaedf9c4d2018-10-15 19:14:19 -070030 public static final int BACKUP_PERIOD_MILLIS_DEFAULT = 2000;
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070031
32 public static final String PERSISTENCE_ENABLED = "persistenceEnabled";
Thomas Vachuskaedf9c4d2018-10-15 19:14:19 -070033 public static final boolean PERSISTENCE_ENABLED_DEFAULT = false;
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070034
35 public static final String PENDING_FUTURE_TIMEOUT_MINUTES = "pendingFutureTimeoutMinutes";
Thomas Vachuskaedf9c4d2018-10-15 19:14:19 -070036 public static final int PENDING_FUTURE_TIMEOUT_MINUTES_DEFAULT = 5;
37
38}