com.launchdarkly.sdk.server.interfaces.DataStoreUpdates Maven / Gradle / Ivy
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);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy