| | |
| | | // a search. |
| | | private int lookthroughLimit; |
| | | |
| | | // Whether to use collect operation processing times in nanosecond resolution |
| | | private boolean useNanoTime; |
| | | |
| | | // The key manager provider configuration manager for the Directory Server. |
| | | private KeyManagerProviderConfigManager keyManagerProviderConfigManager; |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * Specifies whether to collect nanosecond resolution processing times for |
| | | * operations. |
| | | * |
| | | * @param useNanoTime <code>true</code> if nanosecond resolution times |
| | | * should be collected or <code>false</code> to |
| | | * only collect in millisecond resolution. |
| | | */ |
| | | public static void setUseNanoTime(boolean useNanoTime) |
| | | { |
| | | directoryServer.useNanoTime = useNanoTime; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Retrieves whether operation processing times should be collected with |
| | | * nanosecond resolution. |
| | | * |
| | | * @return <code>true</code> if nanosecond resolution times are collected |
| | | * or <code>false</code> if only millisecond resolution times are |
| | | * being collected. |
| | | */ |
| | | public static boolean getUseNanoTime() |
| | | { |
| | | return directoryServer.useNanoTime; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the writability mode for the Directory Server. This will only |
| | | * be applicable for user suffixes. |
| | | * |