com.launchdarkly.sdk.server.interfaces.DataStoreUpdates Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of launchdarkly-java-server-sdk Show documentation
Show all versions of launchdarkly-java-server-sdk Show documentation
Official LaunchDarkly SDK for Java
package com.launchdarkly.sdk.server.interfaces;
/**
* Interface that a data store implementation can use to report information back to the SDK.
*
* The {@link DataStoreFactory} receives an implementation of this interface and can pass it to the
* data store that it creates, if desired.
*
* @since 5.0.0
*/
public interface DataStoreUpdates {
/**
* Reports a change in the data store's operational status.
*
* This is what makes the status monitoring mechanisms in {@link DataStoreStatusProvider} work.
*
* @param newStatus the updated status properties
*/
void updateStatus(DataStoreStatusProvider.Status newStatus);
}