aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor/src/main/java/com/yahoo/vespa/service/monitor/SlobrokApi.java
blob: dff605b888dc64f486555fc400f77aaab90c370e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2017 Yahoo Holdings. 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);
}