blob: 6af9034ae96ecf439e5c151259a95eb38be96d1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.rpc;
import com.yahoo.config.provision.TenantName;
import com.yahoo.vespa.config.server.RequestHandler;
import com.yahoo.vespa.config.server.tenant.TenantRepository;
import java.util.Optional;
/**
* A provider of {@link RequestHandler} instances. A very simplified interface of {@link TenantRepository}.
*
* @author bjorncs
*/
public interface RequestHandlerProvider {
Optional<RequestHandler> getRequestHandler(TenantName tenantName);
}
|