Package io.vertx.spi.cluster.hazelcast
Class ConfigUtil
- java.lang.Object
-
- io.vertx.spi.cluster.hazelcast.ConfigUtil
-
public class ConfigUtil extends Object
- Author:
- Thomas Segismont
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Config
loadConfig()
Loads Hazelcast config XML and transform it into aConfig
object.
-
-
-
Method Detail
-
loadConfig
public static Config loadConfig()
Loads Hazelcast config XML and transform it into aConfig
object. The content is read from:- the location denoted by the
vertx.hazelcast.config
sysprop, if present, or - the
cluster.xml
file on the classpath, if present, or - the default config file
- Returns:
- a config object
- the location denoted by the
-
-