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.
|
void |
notifyAboutCloudSize(java.net.InetAddress ip,
int port,
java.net.InetAddress leaderIp,
int leaderPort,
int size)
Tell the embedding software that this H2O instance belongs to
a cloud of a certain size.
|
void |
notifyAboutCloudSize(java.net.InetAddress ip,
int port,
int size)
Deprecated.
please override version of this method that has leader information.
|
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@Deprecated
public void notifyAboutCloudSize(java.net.InetAddress ip,
int port,
int size)
public void notifyAboutCloudSize(java.net.InetAddress ip,
int port,
java.net.InetAddress leaderIp,
int leaderPort,
int size)
ip - IP address this H2O can be reached at.port - Port this H2O can be reached at (for REST API and browser).leaderIp - IP address of the leader H2O node of the cloud.leaderPort - Port of the leader H2O node (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()