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.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024