Class IgniteDiscoveryOptions
java.lang.Object
io.vertx.spi.cluster.ignite.IgniteDiscoveryOptions
- Author:
- Lukas Prettenthaler
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorIgniteDiscoveryOptions(JsonObject options) Constructor from JSONCopy constructor -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.ignite.spi.discovery.DiscoverySpiGet the custom DiscoverySpi instance.Get the discovery implementation properties.getType()Get the discovery implementation type.setCustomSpi(org.apache.ignite.spi.discovery.DiscoverySpi discoverySpi) Sets a custom initialized DiscoverySpi.setProperties(JsonObject properties) Sets the properties used to configure the discovery implementation.Sets the discovery implementation type.toJson()Convert to JSON
-
Constructor Details
-
IgniteDiscoveryOptions
public IgniteDiscoveryOptions()Default constructor -
IgniteDiscoveryOptions
Copy constructor- Parameters:
options- the one to copy
-
IgniteDiscoveryOptions
Constructor from JSON- Parameters:
options- the JSON
-
-
Method Details
-
getType
-
setType
Sets the discovery implementation type. Defaults to TcpDiscoveryMulticastIpFinder- Parameters:
type- Implemenation type.- Returns:
- reference to this, for fluency
-
getProperties
Get the discovery implementation properties.- Returns:
- Properties of the discovery implementation.
-
setProperties
Sets the properties used to configure the discovery implementation.- Parameters:
properties- Properties for the discovery implementation.- Returns:
- reference to this, for fluency
-
getCustomSpi
public org.apache.ignite.spi.discovery.DiscoverySpi getCustomSpi()Get the custom DiscoverySpi instance.- Returns:
- DiscoverySpi.
-
setCustomSpi
public IgniteDiscoveryOptions setCustomSpi(org.apache.ignite.spi.discovery.DiscoverySpi discoverySpi) Sets a custom initialized DiscoverySpi. When a custom Spi is set all other properties are ignored.- Parameters:
discoverySpi- DiscoverySpi implementation.- Returns:
- reference to this, for fluency
-
toJson
-