blob: 1572286207d034dce4498c09a114dd8493f6c0eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.flags;
import java.util.Optional;
/**
* A source of raw flag values that can be converted to typed flag values elsewhere.
*
* @author hakonhall
*/
public interface FlagSource {
/** Returns the raw flag for the given vector (specifying hostname, application id, etc). */
Optional<RawFlag> fetch(FlagId id, FetchVector vector);
}
|