Class XapManagerConfig
java.lang.Object
com.gigaspaces.start.manager.XapManagerConfig
- All Implemented Interfaces:
ManagerInstanceInfo, SmartExternalizable, Externalizable, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionXapManagerConfig(String host) XapManagerConfig(String host, Properties properties) -
Method Summary
Modifier and TypeMethodDescriptionGet the REST API port for this manager.Get the full REST API URL for this manager.getAdminRestUrl(String port) getHost()Returns the manager's host.getProperty(String key) static XapManagerConfigvoidtoString()voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
XapManagerConfig
public XapManagerConfig() -
XapManagerConfig
-
XapManagerConfig
-
-
Method Details
-
parse
-
getHost
Description copied from interface:ManagerInstanceInfoReturns the manager's host.- Specified by:
getHostin interfaceManagerInstanceInfo
-
getProperties
-
getZookeeper
-
getLookupService
-
getAdminRest
Get the REST API port for this manager.Note: The default port is now 9090 (REST V3), changed from 8090 (REST V2). See
DEFAULT_RESTfor migration information.- Returns:
- the REST port, either from configuration or the default (9090)
-
getAdminRestUrl
Get the full REST API URL for this manager.Note: This returns a URL pointing to port 9090 by default (REST V3).
- Returns:
- the full REST URL (e.g., "http://hostname:9090")
-
getAdminRestUrl
-
getProperty
-
toString
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-