blob: 7fffad42aae6f2aef6eb427c991bdd164982a58c [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.messagingperf;
18
19/**
20 * Name/Value constants for properties.
21 */
22public final class OsgiPropertyConstants {
23 private OsgiPropertyConstants() {
24 }
25
26 public static final String SENDER_THREAD_POOL_SIZE = "totalSenderThreads";
27 public static final int SENDER_THREAD_POOL_SIZE_DEFAULT = 2;
28
29 public static final String RECEIVER_THREAD_POOL_SIZE = "totalReceiverThreads";
30 public static final int RECEIVER_THREAD_POOL_SIZE_DEFAULT = 2;
31
32 public static final String SERIALIZATION_ON = "serializationOn";
33 public static final boolean SERIALIZATION_ON_DEFAULT = true;
34
35 public static final String RECEIVE_ON_IO_LOOP_THREAD = "receiveOnIOLoopThread";
36 public static final boolean RECEIVE_ON_IO_LOOP_THREAD_DEFAULT = false;
37}