Class AbstractCommunicationProtocol<K,​V>

  • Type Parameters:
    K - the type of keys
    V - the type of values
    All Implemented Interfaces:
    CommunicationProtocol<K,​V>
    Direct Known Subclasses:
    TcpCommunicationProtocol

    public abstract class AbstractCommunicationProtocol<K,​V>
    extends Object
    implements CommunicationProtocol<K,​V>
    Abstract base class for communication protocol implementations.

    This class provides common functionality shared across all communication protocols, including serialization, broadcast operations, cache handling, and metrics. Concrete implementations only need to provide the transport-specific networking logic.