Class DefaultControllerWatch<ApiType extends io.kubernetes.client.common.KubernetesObject>

java.lang.Object
io.kubernetes.client.extended.controller.DefaultControllerWatch<ApiType>
Type Parameters:
ApiType - the type parameter
All Implemented Interfaces:
ControllerWatch<ApiType>

public class DefaultControllerWatch<ApiType extends io.kubernetes.client.common.KubernetesObject> extends Object implements ControllerWatch<ApiType>
An event handler plumbs work-queue into a controller.
  • Constructor Details

    • DefaultControllerWatch

      public DefaultControllerWatch(Class<ApiType> apiTypeClass, WorkQueue<Request> workQueue, Function<ApiType,Request> workKeyGenerator, Duration resyncPeriod)
      Instantiates a new Work queue resource event handler.
      Parameters:
      workQueue - the work queue
      workKeyGenerator - the work key generator
  • Method Details