Class DefaultHealthCheckService

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void healthCheck​(java.lang.String bankId)
      An empty implementation checks that integration service is running and is accessible from TokenOS.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultHealthCheckService

        public DefaultHealthCheckService()
    • Method Detail

      • healthCheck

        public void healthCheck​(java.lang.String bankId)
        Description copied from interface: HealthCheckService
        An empty implementation checks that integration service is running and is accessible from TokenOS. An implementation may optionally include checks on internal services.

        To report the unhealthy status, an implementation of this method should throw StatusRuntimeException with Status.UNAVAILABLE.

        Specified by:
        healthCheck in interface HealthCheckService
        Parameters:
        bankId - bank id (used only for integrations covering multiple banks)