Ray Milkey | 88dd7e2 | 2018-10-24 10:04:03 -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 | |
| 17 | package org.onosproject.primitiveperf; |
| 18 | |
| 19 | /** |
| 20 | * Name/Value constants for properties. |
| 21 | */ |
| 22 | public final class OsgiPropertyConstants { |
| 23 | private OsgiPropertyConstants() { |
| 24 | } |
| 25 | |
| 26 | public static final String NUM_CLIENTS = "numClients"; |
| 27 | public static final int NUM_CLIENTS_DEFAULT = 8; |
| 28 | |
| 29 | public static final String WRITE_PERCENTAGE = "writePercentage"; |
| 30 | public static final int WRITE_PERCENTAGE_DEFAULT = 100; |
| 31 | |
| 32 | public static final String NUM_KEYS = "numKeys"; |
| 33 | public static final int NUM_KEYS_DEFAULT = 100000; |
| 34 | |
| 35 | public static final String KEY_LENGTH = "keyLength"; |
| 36 | public static final int KEY_LENGTH_DEFAULT = 32; |
| 37 | |
| 38 | public static final String NUM_UNIQUE_VALUES = "numValues"; |
| 39 | public static final int NUM_UNIQUE_VALUES_DEFAULT = 100; |
| 40 | |
| 41 | public static final String VALUE_LENGTH = "valueLength"; |
| 42 | public static final int VALUE_LENGTH_DEFAULT = 1024; |
| 43 | |
| 44 | public static final String INCLUDE_EVENTS = "includeEvents"; |
| 45 | public static final boolean INCLUDE_EVENTS_DEFAULT = false; |
| 46 | |
| 47 | public static final String DETERMINISTIC = "deterministic"; |
| 48 | public static final boolean DETERMINISTIC_DEFAULT = true; |
| 49 | |
| 50 | } |