public final class Config extends Object
This class is an internal implementation detail only intended for use within spectator. It is subject to change without notice.
Modifier and Type | Method and Description |
---|---|
static int |
maxNumberOfMeters()
For classes based on
AbstractRegistry this setting is used
to determine the maximum number of registered meters permitted. |
static boolean |
propagateWarnings()
Should an exception be thrown for warnings?
|
public static boolean propagateWarnings()
public static int maxNumberOfMeters()
AbstractRegistry
this setting is used
to determine the maximum number of registered meters permitted. This limit is used to help
protect the system from a memory leak if there is a bug or irresponsible usage of registering
meters.Integer.MAX_VALUE
.