improve: deprecated isWatching method for informers health indicator by csviri · Pull Request #3326 · operator-framework/java-operator-sdk · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ public interface InformerHealthIndicator extends EventSourceHealthIndicator {

boolean hasSynced();

/**
* @deprecated this method is not suitable for health check, it is expected that the watches
* sometimes fail.
* @return if the watch is established at the moment.
*/
@Deprecated(forRemoval = true)
boolean isWatching();

boolean isRunning();
Expand Down
Loading