Package io.getunleash.strategy
Class GradualRolloutSessionIdStrategy
java.lang.Object
io.getunleash.strategy.GradualRolloutSessionIdStrategy
- All Implemented Interfaces:
Strategy
Implements a gradual roll-out strategy based on session id.
Using this strategy you can target only users bound to a session and gradually expose your feature to higher percentage of the logged in user.
This strategy takes two parameters: - percentage : a number between 0 and 100. The percentage you want to enable the feature for. - groupId : a groupId used for rolling out the feature. By using the same groupId for different toggles you can correlate the user experience across toggles.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.getunleash.strategy.Strategy
getDeprecatedHashingAlgoResult, getResult, getStickiness, isEnabled
-
Field Details
-
PERCENTAGE
- See Also:
-
GROUP_ID
- See Also:
-
-
Constructor Details
-
GradualRolloutSessionIdStrategy
public GradualRolloutSessionIdStrategy()
-
-
Method Details