Package org.orekit.utils
Class OrekitConfiguration
java.lang.Object
org.orekit.utils.OrekitConfiguration
Utility class for setting global configuration parameters.
- Author:
- Luc Maisonobe
-
Method Summary
Modifier and TypeMethodDescriptionstatic intGet the number of slots to use in caches.static StringGet Orekit version.static voidsetCacheSlotsNumber(int slotsNumber) Set the number of slots to use in caches.
-
Method Details
-
setCacheSlotsNumber
public static void setCacheSlotsNumber(int slotsNumber) Set the number of slots to use in caches.- Parameters:
slotsNumber- number of slots to use in caches
-
getCacheSlotsNumber
public static int getCacheSlotsNumber()Get the number of slots to use in caches.- Returns:
- number of slots to use in caches
-
getOrekitVersion
Get Orekit version.The version is automatically retrieved from a properties file generated at maven compilation time. When using an IDE not configured to use maven, then a default value
"unknown"will be returned.- Returns:
- Orekit version
- Since:
- 13.0
-