|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwater.AbstractEmbeddedH2OConfig
public abstract class AbstractEmbeddedH2OConfig
This class is a small shim between a main java program (such as a Hadoop mapper) and an embedded full-capability H2O.
Constructor Summary | |
---|---|
AbstractEmbeddedH2OConfig()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractEmbeddedH2OConfig()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |