Class Web3jHealthCheck

java.lang.Object
com.codahale.metrics.health.HealthCheck
com.turbospaces.boot.AbstractHealtchCheck
com.turbospaces.healthchecks.Web3jHealthCheck
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean

public class Web3jHealthCheck extends com.turbospaces.boot.AbstractHealtchCheck
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.codahale.metrics.health.HealthCheck

    com.codahale.metrics.health.HealthCheck.Result, com.codahale.metrics.health.HealthCheck.ResultBuilder
  • Field Summary

    Fields inherited from class com.turbospaces.boot.AbstractHealtchCheck

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Web3jHealthCheck(org.web3j.protocol.Web3j web3j)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.codahale.metrics.health.HealthCheck.Result
     
    void
     
    boolean
     

    Methods inherited from class com.turbospaces.boot.AbstractHealtchCheck

    isPermanent

    Methods inherited from class com.codahale.metrics.health.HealthCheck

    clock, execute

    Methods inherited from class java.lang.Object

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

    • Web3jHealthCheck

      public Web3jHealthCheck(org.web3j.protocol.Web3j web3j)
  • Method Details

    • check

      protected com.codahale.metrics.health.HealthCheck.Result check() throws Exception
      Specified by:
      check in class com.codahale.metrics.health.HealthCheck
      Throws:
      Exception
    • isBootstrapOnly

      public boolean isBootstrapOnly()
      Specified by:
      isBootstrapOnly in class com.turbospaces.boot.AbstractHealtchCheck
    • destroy

      public void destroy() throws Exception
      Throws:
      Exception