Class ServiceWrapperHealthCheck

java.lang.Object
com.google.common.util.concurrent.AbstractIdleService
org.aksw.jena_sparql_api.ext.virtuoso.ServiceWrapperHealthCheck
All Implemented Interfaces:
com.google.common.util.concurrent.Service

public class ServiceWrapperHealthCheck extends com.google.common.util.concurrent.AbstractIdleService
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

    com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.google.common.util.concurrent.Service
     
    protected Runnable
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServiceWrapperHealthCheck(com.google.common.util.concurrent.Service delegate, Runnable healthcheckRunner)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     

    Methods inherited from class com.google.common.util.concurrent.AbstractIdleService

    addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, startAsync, state, stopAsync, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • delegate

      protected com.google.common.util.concurrent.Service delegate
    • healthcheckRunner

      protected Runnable healthcheckRunner
  • Constructor Details

    • ServiceWrapperHealthCheck

      public ServiceWrapperHealthCheck(com.google.common.util.concurrent.Service delegate, Runnable healthcheckRunner)
  • Method Details

    • startUp

      protected void startUp() throws Exception
      Specified by:
      startUp in class com.google.common.util.concurrent.AbstractIdleService
      Throws:
      Exception
    • shutDown

      protected void shutDown() throws Exception
      Specified by:
      shutDown in class com.google.common.util.concurrent.AbstractIdleService
      Throws:
      Exception