All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.launchdarkly.sdk.server.interfaces.DataStoreFactory Maven / Gradle / Ivy

There is a newer version: 7.5.0
Show newest version
package com.launchdarkly.sdk.server.interfaces;

import com.launchdarkly.sdk.server.Components;

/**
 * Interface for a factory that creates some implementation of {@link DataStore}.
 * @see Components
 * @since 4.11.0
 */
public interface DataStoreFactory {
  /**
   * Creates an implementation instance.
   * 
   * @param context allows access to the client configuration
   * @param dataStoreUpdates the data store can use this object to report information back to
   *   the SDK if desired
   * @return a {@link DataStore}
   */
  DataStore createDataStore(ClientContext context, DataStoreUpdates dataStoreUpdates);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy