public class Util extends Object
Modifier and Type | Field and Description |
---|---|
static int |
PLANNED_DRAINING_INTERVAL |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static void |
disableDriverHA() |
static boolean |
equalsNormalized(String item1,
String item2)
Predicate for normalized comparison of two strings
|
static int |
getMaxInitThreads()
get max number of worker threads for pool initialization
|
static int |
getPlannedDrainingPeriod() |
static String |
getReadOnlyInstanceAllowed() |
static String |
getShardRoutingEnabled() |
static String |
getXMLConfigurationFilePath() |
static boolean |
isAffinityStrict()
get flag for an affinity STRICT mode
(off by default)
|
static boolean |
isDestroyOnReloadEnabled() |
static boolean |
isPreWLS1212Compatible() |
static String |
maskONSConfigurationString(String onsConfigStr) |
static boolean |
sameOrEqual(Object o1,
Object o2)
Sameness or Equality predicate
|
public static boolean sameOrEqual(Object o1, Object o2)
o1
- object or nullo2
- object or nullpublic static boolean isAffinityStrict()
public static int getMaxInitThreads()
public static boolean isPreWLS1212Compatible()
public static int getPlannedDrainingPeriod()
public static void disableDriverHA()
public static String getXMLConfigurationFilePath() throws PrivilegedActionException
PrivilegedActionException
public static String getReadOnlyInstanceAllowed()
public static String getShardRoutingEnabled()
public static boolean isDestroyOnReloadEnabled()
public static boolean equalsNormalized(String item1, String item2)
item1
- 1st string (null allowed) to normalize and compareitem2
- 2nd string (null allowed) to normalize and compare
Copyright © 2008, 2017, Oracle. All rights reserved.