public class IgniteDiscoveryOptions extends Object
Constructor and Description |
---|
IgniteDiscoveryOptions()
Default constructor
|
IgniteDiscoveryOptions(IgniteDiscoveryOptions options)
Copy constructor
|
IgniteDiscoveryOptions(JsonObject options)
Constructor from JSON
|
Modifier and Type | Method and Description |
---|---|
org.apache.ignite.spi.discovery.DiscoverySpi |
getCustomSpi()
Get the custom DiscoverySpi instance.
|
JsonObject |
getProperties()
Get the discovery implementation properties.
|
String |
getType()
Get the discovery implementation type.
|
IgniteDiscoveryOptions |
setCustomSpi(org.apache.ignite.spi.discovery.DiscoverySpi discoverySpi)
Sets a custom initialized DiscoverySpi.
|
IgniteDiscoveryOptions |
setProperties(JsonObject properties)
Sets the properties used to configure the discovery implementation.
|
IgniteDiscoveryOptions |
setType(String type)
Sets the discovery implementation type.
|
JsonObject |
toJson()
Convert to JSON
|
public IgniteDiscoveryOptions()
public IgniteDiscoveryOptions(IgniteDiscoveryOptions options)
options
- the one to copypublic IgniteDiscoveryOptions(JsonObject options)
options
- the JSONpublic String getType()
public IgniteDiscoveryOptions setType(String type)
type
- Implemenation type.public JsonObject getProperties()
public IgniteDiscoveryOptions setProperties(JsonObject properties)
properties
- Properties for the discovery implementation.public org.apache.ignite.spi.discovery.DiscoverySpi getCustomSpi()
public IgniteDiscoveryOptions setCustomSpi(org.apache.ignite.spi.discovery.DiscoverySpi discoverySpi)
discoverySpi
- DiscoverySpi implementation.public JsonObject toJson()
Copyright © 2024 Eclipse. All rights reserved.