Class BasicConfiguration

java.lang.Object
com.launchdarkly.sdk.server.interfaces.BasicConfiguration

public final class BasicConfiguration
extends java.lang.Object
The most basic properties of the SDK client that are available to all SDK component factories.
Since:
5.0.0
  • Constructor Summary

    Constructors 
    Constructor Description
    BasicConfiguration​(java.lang.String sdkKey, boolean offline, int threadPriority)
    Constructs an instance.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getSdkKey()
    Returns the configured SDK key.
    int getThreadPriority()
    The thread priority that should be used for any worker threads created by SDK components.
    boolean isOffline()
    Returns true if the client was configured to be completely offline.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BasicConfiguration

      public BasicConfiguration​(java.lang.String sdkKey, boolean offline, int threadPriority)
      Constructs an instance.
      Parameters:
      sdkKey - the SDK key
      offline - true if the SDK was configured to be completely offline
      threadPriority - the thread priority that should be used for any worker threads created by SDK components
  • Method Details