Class InaccessibleDataHubServer
java.lang.Object
de.hybris.platform.datahubbackoffice.service.datahub.DataHubServer
de.hybris.platform.datahubbackoffice.service.datahub.InaccessibleDataHubServer
- All Implemented Interfaces:
Serializable
A special case representing a
DataHubServer that is inaccessible.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReads location URL of this server.booleanDetermines whether the server is accessible within the timeoutMethods inherited from class de.hybris.platform.datahubbackoffice.service.datahub.DataHubServer
equals, getName, hashCode
-
Constructor Details
-
InaccessibleDataHubServer
public InaccessibleDataHubServer()
-
-
Method Details
-
isAccessibleWithTimeout
public boolean isAccessibleWithTimeout()Description copied from class:DataHubServerDetermines whether the server is accessible within the timeout- Overrides:
isAccessibleWithTimeoutin classDataHubServer- Returns:
true, if the server is accessible and the program can interact with it;false, otherwise.
-
getLocation
Reads location URL of this server.- Overrides:
getLocationin classDataHubServer- Returns:
- URL of this server as it was configured in the
DataHubNameService - Throws:
NoDataHubInstanceAvailableException- for every method invocation.
-