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

com.launchdarkly.sdk.server.interfaces.DataSourceFactory 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 DataSource}.
 * @see Components
 * @since 4.11.0
 */
public interface DataSourceFactory {
  /**
   * Creates an implementation instance.
   * 

* The new {@code DataSource} should not attempt to make any connections until * {@link DataSource#start()} is called. * * @param context allows access to the client configuration * @param dataSourceUpdates the component pushes data into the SDK via this interface * @return an {@link DataSource} */ public DataSource createDataSource(ClientContext context, DataSourceUpdates dataSourceUpdates); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy