Skip to content

Commit

Permalink
Implement health observers for base health types
Browse files Browse the repository at this point in the history
  • Loading branch information
xstefank committed Jan 17, 2025
1 parent aa98a40 commit 92f3488
Show file tree
Hide file tree
Showing 6 changed files with 682 additions and 135 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package io.smallrye.health.api.event;

import java.time.Instant;

import org.eclipse.microprofile.health.HealthCheckResponse;

import io.smallrye.health.api.HealthType;

/**
* Event interface for the health state changes.
*/
public interface HealthStatusChangeEvent {

Instant timestamp();

HealthType healthType();

HealthCheckResponse.Status status();
}
Loading

0 comments on commit 92f3488

Please sign in to comment.