public abstract class AbstractEmbeddedH2OConfig
extends java.lang.Object
Constructor and Description |
---|
AbstractEmbeddedH2OConfig() |
Modifier and Type | Method and Description |
---|---|
abstract void |
exit(int status)
Tell the embedding software that H2O wants the process to exit.
|
abstract java.lang.String |
fetchFlatfile()
If configProvidesFlatfile, get it.
|
abstract void |
notifyAboutCloudSize(java.net.InetAddress ip,
int port,
int size)
Tell the embedding software that this H2O instance belongs to
a cloud of a certain size.
|
abstract void |
notifyAboutEmbeddedWebServerIpPort(java.net.InetAddress ip,
int port)
Tell the embedding software that H2O has started an embedded
web server on an IP and port.
|
abstract void |
print()
Print debug information.
|
abstract boolean |
providesFlatfile()
Whether H2O gets a flatfile config from this config object.
|
public abstract void notifyAboutEmbeddedWebServerIpPort(java.net.InetAddress ip, int port)
ip
- IP address this H2O can be reached at.port
- Port this H2O can be reached at (for REST API and browser).public abstract boolean providesFlatfile()
public abstract java.lang.String fetchFlatfile() throws java.lang.Exception
java.lang.Exception
public abstract void notifyAboutCloudSize(java.net.InetAddress ip, int port, int size)
ip
- IP address this H2O can be reached at.port
- Port this H2O can be reached at (for REST API and browser).size
- Number of H2O instances in the cloud.public abstract void exit(int status)
status
- Process-level exit statuspublic abstract void print()