public interface SegmentationResolver extends Serializable
Each segmentation resolver checks segment for validity, using its inner logic. Typically, resolver should run light-weight single check (i.e. one IP address or one shared folder). Compound segment checks may be performed using several resolvers.
Note that Ignite support a logical segmentation and not limited to network related segmentation only. For example, a particular segmentation resolver can check for specific application or service present on the network and mark the topology as segmented in case it is not available. In other words you can equate the service outage with network outage via segmentation resolution and employ the unified approach in dealing with these types of problems.
Modifier and Type | Method and Description |
---|---|
boolean |
isValidSegment()
Checks whether segment is valid.
|
boolean isValidSegment() throws IgniteCheckedException
When segmentation happens every node ends up in either one of two segments:
segmentation policy
set
in configuration.True
if segment is correct, false
otherwise.IgniteCheckedException
- If an error occurred.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023