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:
Endpoint to be fall backed on if feature is off.
feature
public abstract String feature()
Return name of the feature that is checked.
Returns:
Name of the feature that is checked.
snapshot
public abstract boolean snapshot()
If true, feature will return the same value during the length of the request.
Returns:
If true, feature will return the same value during the length of the request.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java