Examples of Identifiers


Examples of com.indeed.proctor.common.Identifiers

     * @deprecated use {@link AbstractGroupsManager#determineBucketsInternal(Map, Map)}
     */
    @VisibleForTesting
    protected ProctorResult determineBucketsInternal(final TestType testType, final String identifier, final Map<String, Object> context) {
        final Map<String, Integer> forcedGroups = Collections.emptyMap();
        final Identifiers identifiers = new Identifiers(testType, identifier);
        return determineBucketsInternal(identifiers, context, forcedGroups);
    }
View Full Code Here

Examples of com.indeed.proctor.common.Identifiers

        final Map<String, Object> context = Maps.newHashMap();
        context.put("num", Integer.valueOf(num));
        context.put("country", country);
        context.put("language", language);

        final Identifiers identifiers = new Identifiers(TestType.ANONYMOUS_USER, id);
        final ProctorResult proctorResult = proctor.determineTestGroups(identifiers, context, forceGroups);
        final StringBuilder buckets = new StringBuilder();
        for (final Iterator<Entry<String, TestBucket>> iterator = proctorResult.getBuckets().entrySet().iterator(); iterator.hasNext(); ) {
            final Entry<String, TestBucket> entry = iterator.next();
            final String testName = entry.getKey();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.