Enum DeclarativeSlotPool.NoOpResourceRequestStableListener
- java.lang.Object
-
- java.lang.Enum<DeclarativeSlotPool.NoOpResourceRequestStableListener>
-
- org.apache.flink.runtime.jobmaster.slotpool.DeclarativeSlotPool.NoOpResourceRequestStableListener
-
- All Implemented Interfaces:
Serializable,Comparable<DeclarativeSlotPool.NoOpResourceRequestStableListener>,DeclarativeSlotPool.ResourceRequestStableListener
- Enclosing interface:
- DeclarativeSlotPool
public static enum DeclarativeSlotPool.NoOpResourceRequestStableListener extends Enum<DeclarativeSlotPool.NoOpResourceRequestStableListener> implements DeclarativeSlotPool.ResourceRequestStableListener
No-opDeclarativeSlotPool.ResourceRequestStableListenerimplementation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotifyResourceRequestStable()Notifies the listener about no more resource requests in the specified duration.static DeclarativeSlotPool.NoOpResourceRequestStableListenervalueOf(String name)Returns the enum constant of this type with the specified name.static DeclarativeSlotPool.NoOpResourceRequestStableListener[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final DeclarativeSlotPool.NoOpResourceRequestStableListener INSTANCE
-
-
Method Detail
-
values
public static DeclarativeSlotPool.NoOpResourceRequestStableListener[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeclarativeSlotPool.NoOpResourceRequestStableListener c : DeclarativeSlotPool.NoOpResourceRequestStableListener.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeclarativeSlotPool.NoOpResourceRequestStableListener valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
notifyResourceRequestStable
public void notifyResourceRequestStable()
Description copied from interface:DeclarativeSlotPool.ResourceRequestStableListenerNotifies the listener about no more resource requests in the specified duration.- Specified by:
notifyResourceRequestStablein interfaceDeclarativeSlotPool.ResourceRequestStableListener
-
-