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.
boolean isValidSegment() throws IgniteCheckedException
When segmentation happens every node ends up in either one of two segments:
segmentation policyset in configuration.
Trueif segment is correct,
IgniteCheckedException- If an error occurred.