java.lang.Object
de.hybris.platform.datahubbackoffice.service.datahub.DataHubServer
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InaccessibleDataHubServer

public class DataHubServer extends Object implements Serializable
A DataHub server to communicate to.
See Also:
  • Constructor Details

  • Method Details

    • isAccessibleWithTimeout

      public boolean isAccessibleWithTimeout()
      Determines whether the server is accessible within the timeout
      Returns:
      true, if the server is accessible and the program can interact with it; false, otherwise.
    • getName

      public String getName()
      Reads name of this server.
      Returns:
      name of this server as it was configured in the DataHubNameService
    • getLocation

      public String getLocation()
      Reads location URL of this server.
      Returns:
      URL of this server as it was configured in the DataHubNameService
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object