Class ProcessorListener<T>

  • Type Parameters:
    T - type of ProcessorListener

    public class ProcessorListener<T>
    extends Object
    ProcessorListener implements Runnable interface. It's supposed to run in background and actually executes its event handler on notification. This has been taken from official client: https://github.com/kubernetes-client/java/blob/main/util/src/main/java/io/kubernetes/client/informer/cache/ProcessorListener.java which has been ported from official go client: https://github.com/kubernetes/client-go/blob/master/tools/cache/shared_informer.go#L570
    Modified to execute loosely coupled from its processing thread