public static enum WindowPartitionCache.RemovalCause extends Enum<WindowPartitionCache.RemovalCause>
The reason why an enrty got evicted from the cache.
Enum Constant and Description |
---|
EXPLICIT
The entry was forcefully invalidated from the cache.
|
REPLACED
The entry was evicted from the cache due to overflow.
|
Modifier and Type | Method and Description |
---|---|
static WindowPartitionCache.RemovalCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WindowPartitionCache.RemovalCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WindowPartitionCache.RemovalCause EXPLICIT
public static final WindowPartitionCache.RemovalCause REPLACED
public static WindowPartitionCache.RemovalCause[] values()
for (WindowPartitionCache.RemovalCause c : WindowPartitionCache.RemovalCause.values()) System.out.println(c);
public static WindowPartitionCache.RemovalCause valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022 The Apache Software Foundation. All rights reserved.