Class KubernetesDistributedCache<K,​V>

  • Type Parameters:
    K - the type of keys maintained by this cache
    V - the type of mapped values
    All Implemented Interfaces:
    DistributedCache<K,​V>

    public class KubernetesDistributedCache<K,​V>
    extends AbstractDistributedCache<K,​V>
    Kubernetes-specific distributed cache implementation.

    This implementation extends AbstractDistributedCache and provides Kubernetes-specific node discovery and identification. It integrates seamlessly with Kubernetes environments using pod names and service discovery.

    Kubernetes Integration Features:

    • Pod Name Identification: Uses Kubernetes pod names as node IDs
    • Service Discovery: Integrates with Kubernetes service discovery
    • Pod Lifecycle: Handles pod restarts and scaling events gracefully
    • Resource Management: Respects Kubernetes resource limits
    Since:
    1.0.0