File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
lib/sdk/server/src/main/java/com/launchdarkly/sdk/server/integrations Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -281,6 +281,8 @@ public static final class FlagBuilder {
281281 this .on = from .on ;
282282 this .fallthroughVariation = from .fallthroughVariation ;
283283 this .variations = new CopyOnWriteArrayList <>(from .variations );
284+ this .samplingRatio = from .samplingRatio ;
285+ this .migrationCheckRatio = from .migrationCheckRatio ;
284286 for (ContextKind contextKind : from .targets .keySet ()) {
285287 this .targets .put (contextKind , new TreeMap <>(from .targets .get (contextKind )));
286288 }
Original file line number Diff line number Diff line change @@ -180,10 +180,6 @@ public TestDataV2 update(TestData.FlagBuilder flagBuilder) {
180180 * synchronizer is having problems (for example, a network failure interrupting the streaming connection). It
181181 * does not actually stop the {@code TestDataV2} synchronizer from working, so even if you have simulated
182182 * an outage, calling {@link #update(TestData.FlagBuilder)} will still send updates.
183- * <p>
184- * The mapping from legacy {@link DataSourceStatusProvider.State} to FDv2 status results matches
185- * {@link com.launchdarkly.sdk.server.DataSourceSynchronizerAdapter}: OFF with error → terminalError,
186- * OFF with null → shutdown, INTERRUPTED → interrupted, VALID/INITIALIZING → no event.
187183 *
188184 * @param newState one of the constants defined by {@link com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.State}
189185 * @param newError an {@link com.launchdarkly.sdk.server.interfaces.DataSourceStatusProvider.ErrorInfo} instance,
You can’t perform that action at this time.
0 commit comments