Class InaccessibleDataHubServer
- java.lang.Object
-
- de.hybris.platform.datahubbackoffice.service.datahub.DataHubServer
-
- de.hybris.platform.datahubbackoffice.service.datahub.InaccessibleDataHubServer
-
- All Implemented Interfaces:
java.io.Serializable
public class InaccessibleDataHubServer extends DataHubServer
A special case representing aDataHubServerthat is inaccessible.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InaccessibleDataHubServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLocation()Reads location URL of this server.booleanisAccessibleWithTimeout()Determines whether the server is accessible within the timeout-
Methods inherited from class de.hybris.platform.datahubbackoffice.service.datahub.DataHubServer
equals, getName, hashCode
-
-
-
-
Method Detail
-
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
public java.lang.String 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.
-
-