public class EventAggregator extends Object
Modifier and Type | Field and Description |
---|---|
static Duration |
DEFAULT_EVENT_AGGREGATE_CACHE_EXPIRATION |
static int |
DEFAULT_MAX_EVENT_LOCAL_KEYS |
Constructor and Description |
---|
EventAggregator(int maxLRUCacheEntries,
io.kubernetes.client.fluent.Function<io.kubernetes.client.openapi.models.V1Event,org.apache.commons.lang3.tuple.MutablePair<String,String>> keyFunc,
io.kubernetes.client.fluent.Function<io.kubernetes.client.openapi.models.V1Event,String> messageFunc) |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.lang3.tuple.MutablePair<io.kubernetes.client.openapi.models.V1Event,String> |
aggregate(io.kubernetes.client.openapi.models.V1Event event) |
int |
getMaxEvents() |
public static final int DEFAULT_MAX_EVENT_LOCAL_KEYS
public static final Duration DEFAULT_EVENT_AGGREGATE_CACHE_EXPIRATION
public EventAggregator(int maxLRUCacheEntries, io.kubernetes.client.fluent.Function<io.kubernetes.client.openapi.models.V1Event,org.apache.commons.lang3.tuple.MutablePair<String,String>> keyFunc, io.kubernetes.client.fluent.Function<io.kubernetes.client.openapi.models.V1Event,String> messageFunc)
public org.apache.commons.lang3.tuple.MutablePair<io.kubernetes.client.openapi.models.V1Event,String> aggregate(io.kubernetes.client.openapi.models.V1Event event)
public int getMaxEvents()
Copyright © 2020. All rights reserved.