@ApiStatus.Internal public final class Properties extends Object
A collection of global library properties. Note: This is not meant to be used outside.
Modifier and Type | Method and Description |
---|---|
static int |
getDefaultPoolSize()
getDefaultPoolSize.
|
static boolean |
isVerbose()
Check if verbose mode is set.
|
static boolean |
readBoolProperty(String property,
boolean defaultValue)
readBoolProperty.
|
static int |
readIntProperty(String property,
int defaultValue)
readIntProperty.
|
static long |
readLongProperty(String property,
long defaultValue) |
static String |
readProperty(String property)
readProperty.
|
static String |
readProperty(String property,
String defaultValue)
readProperty.
|
static boolean |
useNativeTransport()
useNativeTransport.
|
public static boolean isVerbose()
true
if verbose setting is setpublic static int getDefaultPoolSize()
getDefaultPoolSize.
public static boolean useNativeTransport()
useNativeTransport.
public static boolean readBoolProperty(String property, boolean defaultValue)
readBoolProperty.
property
- a String
objectdefaultValue
- a booleanpublic static int readIntProperty(String property, int defaultValue)
readIntProperty.
property
- a String
objectdefaultValue
- a intpublic static long readLongProperty(String property, long defaultValue)
Copyright © 2016–2024. All rights reserved.