Interface BootstrapEndpointResolver
- All Known Implementing Classes:
InMemoryBootstrapEndpointResolver, NetworkBootstrapEndpointResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Resolves a bootstrap registry endpoint to a registry client.
Resolvers must be thread-safe. Implementations may use network clients, local test registries, or other transport-neutral registry access paths.
-
Method Summary
-
Method Details
-
resolve
-
resolve
default Optional<org.j7m.middleware.registry.api.RegistryClient> resolve(String endpoint, long deadlineMillis) Resolves with an original traversal deadline. Legacy local resolvers remain functional. Network implementations must include connection and peer reads in this budget.- Parameters:
endpoint- endpoint stringdeadlineMillis- absolute epoch-millisecond deadline, or zero for implementation default- Returns:
- registry client when syntactically supported
-