Class BoxHealthCheck

java.lang.Object
edu.byu.hbll.box.internal.core.BoxHealthCheck
All Implemented Interfaces:
Runnable

public class BoxHealthCheck extends Object implements Runnable
Checks the health of all sources by attempting to query the source. If the query throws an error, then it is considered not healthy.
Author:
Charles Draper
  • Constructor Details

    • BoxHealthCheck

      public BoxHealthCheck(Registry registry)
      Creates a new BoxHealthCheck.
      Parameters:
      registry - the registry
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getHealth

      public BoxHealth getHealth()
      Returns the health of box.
      Returns:
      the health of box