@Contract @Deprecated(forRemoval=true, since="4.1.0") public interface OciAvailability
Deprecated, for removal: This API element is subject to removal in a future version.
replaced with helidon-integrations-oci module
Provides a convenient contract for checking whether the current runtime environment is running on/inside an OCI compute node.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Will source the config bean from OciExtension.ociConfig() to make the call to isRunningOnOci(OciConfig).
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns true if the implementation determines it is running on/inside an OCI compute node.
  • Method Details

    • isRunningOnOci

      boolean isRunningOnOci(OciConfig ociConfig)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns true if the implementation determines it is running on/inside an OCI compute node.
      Parameters:
      ociConfig - the oci config bean
      Returns:
      true if there running on/inside an OCI compute node
    • isRunningOnOci

      default boolean isRunningOnOci()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Will source the config bean from OciExtension.ociConfig() to make the call to isRunningOnOci(OciConfig).
      Returns:
      true if there running on/inside an OCI compute node