Package com.turbospaces.healthchecks
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
-
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 -
Method Summary
Methods inherited from class com.turbospaces.boot.AbstractHealtchCheck
isPermanentMethods inherited from class com.codahale.metrics.health.HealthCheck
clock, execute
-
Constructor Details
-
Web3jHealthCheck
public Web3jHealthCheck(org.web3j.protocol.Web3j web3j)
-
-
Method Details
-
check
- Specified by:
checkin classcom.codahale.metrics.health.HealthCheck- Throws:
Exception
-
isBootstrapOnly
public boolean isBootstrapOnly()- Specified by:
isBootstrapOnlyin classAbstractHealtchCheck
-
destroy
- Throws:
Exception
-