C - the type of the manager-specific data structurepublic interface ResourceGroupConfigurationManager<C>
match(SelectionCriteria) method whenever a query is submitted,
and receives a SelectionContext in return which
contains a fully-qualified ResourceGroupId,
and a manager-specific data structure of type C.
At a later time, the engine may decide to construct a resource group with that ID. To do so, it will walk the tree to find the right position for the group, and then create it. It also creates any necessary parent groups. Every time the engine creates a group it will immediately call the configure method with the original context, allowing the manager to set the required properties on the group.
| Modifier and Type | Method and Description |
|---|---|
void |
configure(ResourceGroup group,
SelectionContext<C> criteria)
Implementations may retain a reference to the group, and re-configure it asynchronously.
|
Optional<SelectionContext<C>> |
match(SelectionCriteria criteria)
This method is called for every query that is submitted, so it should be fast.
|
void configure(ResourceGroup group, SelectionContext<C> criteria)
Optional<SelectionContext<C>> match(SelectionCriteria criteria)
Copyright © 2012–2022. All rights reserved.