public interface HealthEndpointGroups
groups
for use with a health endpoint.Modifier and Type | Method and Description |
---|---|
HealthEndpointGroup |
get(String name)
Return the group with the specified name or
null if the name is not known. |
Set<String> |
getNames()
Return the names of any additional groups.
|
HealthEndpointGroup |
getPrimary()
Return the primary group used by the endpoint.
|
static HealthEndpointGroups |
of(HealthEndpointGroup primary,
Map<String,HealthEndpointGroup> additional)
Factory method to create a
HealthEndpointGroups instance. |
HealthEndpointGroup getPrimary()
null
)Set<String> getNames()
HealthEndpointGroup get(String name)
null
if the name is not known.name
- the name of the groupHealthEndpointGroup
or null
static HealthEndpointGroups of(HealthEndpointGroup primary, Map<String,HealthEndpointGroup> additional)
HealthEndpointGroups
instance.primary
- the primary groupadditional
- the additional groupsHealthEndpointGroups
instanceCopyright © 2021 Pivotal Software, Inc.. All rights reserved.