Thomas Vachuska | edf9c4d | 2018-10-15 19:14:19 -0700 | [diff] [blame] | 1 | /* |
| 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 Vachuska | 52f2cd1 | 2018-11-08 21:20:04 -0800 | [diff] [blame] | 17 | package org.onosproject.incubator.net.virtual.store.impl; |
Thomas Vachuska | edf9c4d | 2018-10-15 19:14:19 -0700 | [diff] [blame] | 18 | |
| 19 | /** |
| 20 | * Constants for default values of configurable properties. |
| 21 | */ |
Thomas Vachuska | 00b5d4f | 2018-10-30 15:13:20 -0700 | [diff] [blame] | 22 | public final class OsgiPropertyConstants { |
Thomas Vachuska | edf9c4d | 2018-10-15 19:14:19 -0700 | [diff] [blame] | 23 | |
Thomas Vachuska | 00b5d4f | 2018-10-30 15:13:20 -0700 | [diff] [blame] | 24 | private OsgiPropertyConstants() {} |
Thomas Vachuska | edf9c4d | 2018-10-15 19:14:19 -0700 | [diff] [blame] | 25 | |
Thomas Vachuska | 00b5d4f | 2018-10-30 15:13:20 -0700 | [diff] [blame] | 26 | public static final String MESSAGE_HANDLER_THREAD_POOL_SIZE = "messageHandlerThreadPoolSize"; |
Thomas Vachuska | edf9c4d | 2018-10-15 19:14:19 -0700 | [diff] [blame] | 27 | public static final int MESSAGE_HANDLER_THREAD_POOL_SIZE_DEFAULT = 4; |
Thomas Vachuska | 00b5d4f | 2018-10-30 15:13:20 -0700 | [diff] [blame] | 28 | |
| 29 | public static final String BACKUP_PERIOD_MILLIS = "backupPeriod"; |
Thomas Vachuska | edf9c4d | 2018-10-15 19:14:19 -0700 | [diff] [blame] | 30 | public static final int BACKUP_PERIOD_MILLIS_DEFAULT = 2000; |
Thomas Vachuska | 00b5d4f | 2018-10-30 15:13:20 -0700 | [diff] [blame] | 31 | |
| 32 | public static final String PERSISTENCE_ENABLED = "persistenceEnabled"; |
Thomas Vachuska | edf9c4d | 2018-10-15 19:14:19 -0700 | [diff] [blame] | 33 | public static final boolean PERSISTENCE_ENABLED_DEFAULT = false; |
Thomas Vachuska | 00b5d4f | 2018-10-30 15:13:20 -0700 | [diff] [blame] | 34 | |
| 35 | public static final String PENDING_FUTURE_TIMEOUT_MINUTES = "pendingFutureTimeoutMinutes"; |
Thomas Vachuska | edf9c4d | 2018-10-15 19:14:19 -0700 | [diff] [blame] | 36 | public static final int PENDING_FUTURE_TIMEOUT_MINUTES_DEFAULT = 5; |
| 37 | |
| 38 | } |