Interface Registry<E,C>
- All Known Implementing Classes:
AbstractRegistry
public interface Registry<E,C>
root resilience4j registry to be used by resilience types registries for common functionality
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn EventPublisher can be used to register event consumers. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfiguration(String configName, C configuration) Adds a configuration to the registryFind a named entry in the RegistrygetConfiguration(String configName) Get a configuration by nameGet the default configurationReturns an EventPublisher which can be used to register event consumers.getTags()Remove an entry from the RegistryReplace an existing entry in the Registry by a new one.
-
Method Details
-
addConfiguration
-
find
-
remove
-
replace
-
getConfiguration
-
getDefaultConfig
-
getTags
-
getEventPublisher
Registry.EventPublisher<E> getEventPublisher()Returns an EventPublisher which can be used to register event consumers.- Returns:
- an EventPublisher
-