aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor/src/main/java/com/yahoo/vespa/service/monitor/SlobrokApi.java
blob: 07e0acececc20e656b7f98d491e0faf05dc37f03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.service.monitor;

import com.yahoo.config.provision.ApplicationId;
import com.yahoo.jrt.slobrok.api.Mirror;

import java.util.List;

public interface SlobrokApi extends ServiceStatusProvider {

    /**
     * Get all Slobrok entries that has a name matching pattern as described in
     * Mirror::lookup.
     */
    List<Mirror.Entry> lookup(ApplicationId application, String pattern);

}