Class TcpFailureDetector

  • All Implemented Interfaces:
    ChannelInterceptor, TcpFailureDetectorMBean, Heartbeat, MembershipListener

    public class TcpFailureDetector
    extends ChannelInterceptorBase
    implements TcpFailureDetectorMBean

    Title: A perfect failure detector

    Description: The TcpFailureDetector is a useful interceptor that adds reliability to the membership layer.

    If the network is busy, or the system is busy so that the membership receiver thread is not getting enough time to update its table, members can be "timed out" This failure detector will intercept the memberDisappeared message(unless its a true shutdown message) and connect to the member using TCP.

    The TcpFailureDetector works in two ways.
    1. It intercepts memberDisappeared events 2. It catches send errors

    Version:
    1.0