public class ProcessorListener<ApiType extends io.kubernetes.client.common.KubernetesObject> extends Object implements Runnable
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessorListener.AddNotification<ApiType> |
static class |
ProcessorListener.DeleteNotification<ApiType> |
static class |
ProcessorListener.Notification<ApiType> |
static class |
ProcessorListener.UpdateNotification<ApiType> |
| Constructor and Description |
|---|
ProcessorListener(ResourceEventHandler<ApiType> handler,
long resyncPeriod) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ProcessorListener.Notification<ApiType> obj) |
void |
determineNextResync(OffsetDateTime now) |
void |
run() |
boolean |
shouldResync(OffsetDateTime now) |
public ProcessorListener(ResourceEventHandler<ApiType> handler, long resyncPeriod)
public void add(ProcessorListener.Notification<ApiType> obj)
public void determineNextResync(OffsetDateTime now)
public boolean shouldResync(OffsetDateTime now)
Copyright © 2022. All rights reserved.