Class EventAggregator

java.lang.Object
io.kubernetes.client.extended.event.legacy.EventAggregator

public class EventAggregator extends Object
  • Field Details

    • DEFAULT_MAX_EVENT_LOCAL_KEYS

      public static final int DEFAULT_MAX_EVENT_LOCAL_KEYS
      See Also:
    • DEFAULT_EVENT_AGGREGATE_CACHE_EXPIRATION

      public static final Duration DEFAULT_EVENT_AGGREGATE_CACHE_EXPIRATION
  • Constructor Details

    • EventAggregator

      public EventAggregator(int maxLRUCacheEntries, Function<io.kubernetes.client.openapi.models.CoreV1Event,org.apache.commons.lang3.tuple.MutablePair<String,String>> keyFunc, Function<io.kubernetes.client.openapi.models.CoreV1Event,String> messageFunc)
  • Method Details

    • aggregate

      public org.apache.commons.lang3.tuple.MutablePair<io.kubernetes.client.openapi.models.CoreV1Event,String> aggregate(io.kubernetes.client.openapi.models.CoreV1Event event)
    • getMaxEvents

      public int getMaxEvents()