Package org.wildfly.service.capture
Interface ValueRegistry<K,V>
- Type Parameters:
K- the registry key typeV- the registry value type
- All Known Subinterfaces:
ServiceValueExecutorRegistry<V>,ServiceValueExecutorRegistry<V>,ServiceValueRegistry<V>,ServiceValueRegistry<V>,ValueExecutorRegistry<K,V>
public interface ValueRegistry<K,V>
A registry of values.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
add
Adds a value registration for the specified key- Parameters:
key- a registry key- Returns:
- a consumer to capture the value
-
remove
Removes the registration for the specified key- Parameters:
key- a registry key
-