Class EventSpamFilter
java.lang.Object
io.kubernetes.client.extended.event.legacy.EventSpamFilter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEventSpamFilter(int maxLRUCacheEntries, Function<io.kubernetes.client.openapi.models.CoreV1Event, String> spamKeyFunc) EventSpamFilter(int maxLRUCacheEntries, Function<io.kubernetes.client.openapi.models.CoreV1Event, String> spamKeyFunc, long tokenBucketCapacity, Duration refillingPeriod, long refillingTokensPerPeriod) -
Method Summary
Modifier and TypeMethodDescriptionbooleanfilter(io.kubernetes.client.openapi.models.CoreV1Event event)
-
Field Details
-
DEFAULT_TOKEN_BUCKET_REFILLING_PERIOD
-
DEFAULT_TOKEN_BUCKET_REFILLING_TOKEN
public static final int DEFAULT_TOKEN_BUCKET_REFILLING_TOKEN- See Also:
-
DEFAULT_TOKEN_BUCKET_CAPACITY
public static final int DEFAULT_TOKEN_BUCKET_CAPACITY- See Also:
-
-
Constructor Details
-
EventSpamFilter
-
EventSpamFilter
-
-
Method Details
-
filter
public boolean filter(io.kubernetes.client.openapi.models.CoreV1Event event)
-