C
- the contributor typepublic interface ContributorRegistry<C> extends NamedContributors<C>
HealthContributor
or
ReactiveHealthContributor
).NamedContributors
Modifier and Type | Method and Description |
---|---|
void |
registerContributor(String name,
C contributor)
Register a contributor with the given
name . |
C |
unregisterContributor(String name)
Unregister a previously registered contributor.
|
getContributor, stream
forEach, iterator, spliterator
void registerContributor(String name, C contributor)
name
.name
- the name of the contributorcontributor
- the contributor to registerIllegalStateException
- if the contributor cannot be registered with the
given name
.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.