Add documentation. Add options to enable/disable the hash providers. Add the option for setup barrier for rotation per requests strategy.
This commit is contained in:
@@ -58,7 +58,7 @@ public class HashManager {
|
||||
if (config.isEnabled()) {
|
||||
switch (config.getRotationPolicy()) {
|
||||
case per_requests:
|
||||
this.rotationStrategy = new RotationPerRequests();
|
||||
this.rotationStrategy = new RotationPerRequests(config.getRequests());
|
||||
break;
|
||||
case per_seconds:
|
||||
this.rotationStrategy = new TimeBasedRotation(config.getDelay());
|
||||
|
||||
Reference in New Issue
Block a user