com.indeed.proctor.consumer
Class AbstractGroupsManager

java.lang.Object
  extended by com.indeed.proctor.consumer.AbstractGroupsManager
All Implemented Interfaces:
ProctorContextDescriptor

public abstract class AbstractGroupsManager
extends Object
implements ProctorContextDescriptor

Doesn't really do much

Author:
ketan

Constructor Summary
protected AbstractGroupsManager(com.google.common.base.Supplier<Proctor> proctorSource)
           
 
Method Summary
protected  ProctorResult determineBucketsInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Identifiers identifiers, Map<String,Object> context, boolean allowForcedGroups)
           
protected  ProctorResult determineBucketsInternal(Identifiers identifiers, Map<String,Object> context)
           
protected  ProctorResult determineBucketsInternal(Identifiers identifiers, Map<String,Object> context, Map<String,Integer> forcedGroups)
          I don't see any value in using this in an application; you probably should use determineBucketsInternal(HttpServletRequest, HttpServletResponse, Identifiers, Map, boolean)
protected  ProctorResult determineBucketsInternal(TestType testType, String identifier, Map<String,Object> context)
          Deprecated. use AbstractGroupsManager#determineBucketsInternal(Map, Map)
protected abstract  Map<String,TestBucket> getDefaultBucketValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.indeed.proctor.consumer.ProctorContextDescriptor
getProvidedContext
 

Constructor Detail

AbstractGroupsManager

protected AbstractGroupsManager(com.google.common.base.Supplier<Proctor> proctorSource)
Method Detail

determineBucketsInternal

protected ProctorResult determineBucketsInternal(TestType testType,
                                                 String identifier,
                                                 Map<String,Object> context)
Deprecated. use AbstractGroupsManager#determineBucketsInternal(Map, Map)

I don't see any value in using this in an application; you probably should use #determineBucketsInternal(HttpServletRequest, HttpServletResponse, String, Map, boolean) TODO: should the identifier argument be a Map from TestType to ID?


determineBucketsInternal

protected ProctorResult determineBucketsInternal(Identifiers identifiers,
                                                 Map<String,Object> context)

determineBucketsInternal

protected ProctorResult determineBucketsInternal(Identifiers identifiers,
                                                 Map<String,Object> context,
                                                 Map<String,Integer> forcedGroups)
I don't see any value in using this in an application; you probably should use determineBucketsInternal(HttpServletRequest, HttpServletResponse, Identifiers, Map, boolean)


getDefaultBucketValues

protected abstract Map<String,TestBucket> getDefaultBucketValues()

determineBucketsInternal

protected ProctorResult determineBucketsInternal(javax.servlet.http.HttpServletRequest request,
                                                 javax.servlet.http.HttpServletResponse response,
                                                 Identifiers identifiers,
                                                 Map<String,Object> context,
                                                 boolean allowForcedGroups)


Copyright © 2014. All Rights Reserved.