Package | Description |
---|---|
com.hazelcast.spi.discovery |
This package contains the public SPI for vendors and users to implement their
custom node / IP discovery strategy.
|
com.hazelcast.spi.discovery.integration |
This package contains the public part of the integrators SPI and is meant for
people that integrate Hazelcast into their own systems or frameworks and cannot
use the default discovery service implementation (for example using a different
DiscoveryStrategy lookup strategy like OSGi). |
com.hazelcast.spi.discovery.multicast |
Contains the hazelcast multicast plugin classes
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleDiscoveryNode
Simple immutable implementation of the
DiscoveryNode interface for convenience
when implementing a DiscoveryStrategy . |
Modifier and Type | Method and Description |
---|---|
Iterable<DiscoveryNode> |
DiscoveryStrategy.discoverNodes()
Returns a set of all discovered nodes based on the defined properties that were used
to create the
DiscoveryStrategy instance. |
Modifier and Type | Method and Description |
---|---|
DiscoveryStrategy |
DiscoveryStrategyFactory.newDiscoveryStrategy(DiscoveryNode discoveryNode,
ILogger logger,
Map<String,Comparable> properties)
Instantiates a new instance of the
DiscoveryStrategy with the given configuration
properties. |
boolean |
NodeFilter.test(DiscoveryNode candidate)
Accepts or denies a
DiscoveryNode
based on the implemented rules. |
Modifier and Type | Method and Description |
---|---|
DiscoveryNode |
DiscoveryServiceSettings.getDiscoveryNode() |
Modifier and Type | Method and Description |
---|---|
Iterable<DiscoveryNode> |
DiscoveryService.discoverNodes()
Returns a discovered and filtered, if a
NodeFilter is setup, set of
discovered nodes to connect to. |
Modifier and Type | Method and Description |
---|---|
DiscoveryServiceSettings |
DiscoveryServiceSettings.setDiscoveryNode(DiscoveryNode discoveryNode) |
Modifier and Type | Method and Description |
---|---|
Iterable<DiscoveryNode> |
MulticastDiscoveryStrategy.discoverNodes() |
Modifier and Type | Method and Description |
---|---|
DiscoveryStrategy |
MulticastDiscoveryStrategyFactory.newDiscoveryStrategy(DiscoveryNode discoveryNode,
ILogger logger,
Map<String,Comparable> prop) |
Constructor and Description |
---|
MulticastDiscoveryStrategy(DiscoveryNode discoveryNode,
ILogger logger,
Map<String,Comparable> properties) |
Copyright © 2021 Hazelcast, Inc.. All rights reserved.