Interface OrderedResolver
- All Known Implementing Classes:
AvailableSpaceResolver,HashFirstResolver,HashResolver,LeaderFollowerResolver,LocalResolver,RandomResolver,RouterResolver
public interface OrderedResolver
Policy that decides which should be the first location accessed given
multiple destinations.
-
Method Summary
Modifier and TypeMethodDescriptiongetFirstNamespace(String path, PathLocation loc) Get the first namespace based on this resolver approach.
-
Method Details
-
getFirstNamespace
Get the first namespace based on this resolver approach.- Parameters:
path- Path to check.loc- Federated location with multiple destinations.- Returns:
- First namespace out of the locations.
-