FeatureGate Interface
Implements
public interface FeatureGate
implements Annotation
THis annotation can be added to any endpoint and will check if the feature is on.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
fallback()
Return endpoint to be fall backed on if feature is off. |
abstract String |
feature()
Return name of the feature that is checked. |
abstract boolean |
snapshot()
If true, feature will return the same value during the length of the request. |
Method Details
fallback
public abstract String fallback()
Return endpoint to be fall backed on if feature is off.
Returns:
feature
public abstract String feature()
Return name of the feature that is checked.
Returns:
snapshot
public abstract boolean snapshot()
If true, feature will return the same value during the length of the request.
Returns:
Applies to
Azure SDK for Java