Created
April 22, 2020 06:33
-
-
Save xstefank/ecef4881f49de296288b7a6d239ea766 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This may be required but it won't compile without adding additional parameter to one of the methods | |
public SmallRyeHealth getLiveness() { | |
return getHealth(livenessChecks); | |
} | |
public ExtendedSmallRyeHealth getLiveness() { | |
return null; | |
} | |
// or we can do something like this: | |
public SmallRyeHealth getMPLiveness() { | |
return getHealth(livenessChecks); | |
} | |
public ExtendedSmallRyeHealth getSRLiveness() { | |
return null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment