Class DataHubPingService


  • public class DataHubPingService
    extends java.lang.Object
    This class handles pinging the DataHub system to confirm communication
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDataHubUrl()  
      int getTimeout()  
      boolean ping()
      Ping method to determine whether communication with DataHub is possible
      void setDataHubUrl​(java.lang.String dataHubUrl)  
      void setTimeout​(int timeout)  
      • Methods inherited from class java.lang.Object

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

      • DataHubPingService

        public DataHubPingService()
    • Method Detail

      • ping

        public boolean ping()
        Ping method to determine whether communication with DataHub is possible
        Returns:
        Boolean response to status of communication feasability
      • getDataHubUrl

        public java.lang.String getDataHubUrl()
      • setDataHubUrl

        public void setDataHubUrl​(java.lang.String dataHubUrl)
      • getTimeout

        public int getTimeout()
      • setTimeout

        public void setTimeout​(int timeout)