index int64 0 0 | repo_id stringlengths 26 205 | file_path stringlengths 51 246 | content stringlengths 8 433k | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/MergePathToGCRootsRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,900 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/SystemPropertyRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,901 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/ObjectListRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,902 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/OQLRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,903 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/OverviewRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,904 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/DuplicatedClassesRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,905 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/ClassLoaderRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,906 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/UnreachableObjectsRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,907 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/GCRootRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,908 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/HistogramRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,909 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/ThreadRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,910 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/ObjectRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,911 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/DominatorTreeRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,912 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/heapdump/LeakRoute.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,913 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/gclog/GCLogBaseRoute.java | /********************************************************************************
* Copyright (c) 2022 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made a... | 6,914 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/route/gclog/GCLogRoute.java | /********************************************************************************
* Copyright (c) 2022 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made a... | 6,915 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/support/Analyzer.java | /********************************************************************************
* Copyright (c) 2020, 2022 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,916 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/support/TransferListener.java | /********************************************************************************
* Copyright (c) 2020, 2021 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,917 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/support/BinFunction.java | /********************************************************************************
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made a... | 6,918 |
0 | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker | Create_ds/eclipse-jifa/backend/worker/src/main/java/org/eclipse/jifa/worker/support/FileSupport.java | /********************************************************************************
* Copyright (c) 2020, 2022 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ... | 6,919 |
0 | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/SerializationUtils.java | package com.netflix.serialization;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import com.google.common.base.Preconditions;
public class SerializationUtils {
public static <T> T deserializeFromString(Deserializer<T> deserializer, String content, TypeDef... | 6,920 |
0 | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/Deserializer.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,921 |
0 | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/JacksonCodec.java | package com.netflix.serialization;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.lang.reflect.Type;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.ObjectWriter;
import org.codehaus.jackson.type.TypeRefe... | 6,922 |
0 | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/TypeDef.java | package com.netflix.serialization;
import static com.google.common.base.Preconditions.checkArgument;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import com.google.common.reflect.TypeToken;
public abstract class TypeDef<T> {
// private final Type runtimeType;
private TypeToken... | 6,923 |
0 | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/StringDeserializer.java | package com.netflix.serialization;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import com.google.common.base.Charsets;
import com.google.common.io.CharStreams;
import com.google.common.io.Closeables;
public class StringDeserializer implements Deserializer<String> {
... | 6,924 |
0 | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/serialization/Serializer.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,925 |
0 | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon/test | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon/test/resources/EmbeddedResources.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,926 |
0 | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon/testutils/TestUtils.java | /*
*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,927 |
0 | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon | Create_ds/ribbon/ribbon-test/src/main/java/com/netflix/ribbon/testutils/MockedDiscoveryServerListTest.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,928 |
0 | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/ClientConfigTest.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,929 |
0 | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/DefaultClientConfigImplTest.java | package com.netflix.client.config;
import static org.junit.Assert.*;
import java.util.Collections;
import java.util.Date;
import java.util.Map;
import java.util.TreeMap;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import com.netflix.config.ConfigurationManager;
import org.junit.rules.Test... | 6,930 |
0 | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/ArchaiusPropertyResolverTest.java | package com.netflix.client.config;
import com.netflix.config.ConfigurationManager;
import org.apache.commons.configuration.AbstractConfiguration;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
import java.util.Map;
import java.util.TreeMap;
public class Archai... | 6,931 |
0 | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/CommonClientConfigKeyTest.java | package com.netflix.client.config;
import static org.junit.Assert.*;
import org.junit.Test;
import com.google.common.collect.Sets;
public class CommonClientConfigKeyTest {
@Test
public void testCommonKeys() {
IClientConfigKey[] keys = CommonClientConfigKey.values();
assertTrue(keys.leng... | 6,932 |
0 | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/test/java/com/netflix/client/config/ReloadableClientConfigTest.java | package com.netflix.client.config;
import com.netflix.config.ConfigurationManager;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
public class ReloadableClientConfigTest {
@Rule
public TestName testName = new TestName();
pr... | 6,933 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/VipAddressResolver.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,934 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/IClientConfigAware.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,935 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/RetryHandler.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,936 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/DefaultLoadBalancerRetryHandler.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,937 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ClientException.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,938 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/IResponse.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,939 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/IClient.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,940 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ClientRequest.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,941 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/Utils.java | package com.netflix.client;
import java.util.Collection;
public class Utils {
public static boolean isPresentAsCause(Throwable throwableToSearchIn,
Collection<Class<? extends Throwable>> throwableToSearchFor) {
int infiniteLoopPreventionCounter = 10;
while (throwableToSearchIn != null ... | 6,942 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/RequestSpecificRetryHandler.java | package com.netflix.client;
import com.google.common.base.Preconditions;
import com.google.common.collect.Lists;
import com.netflix.client.config.CommonClientConfigKey;
import com.netflix.client.config.IClientConfig;
import javax.annotation.Nullable;
import java.net.SocketException;
import java.util.List;
import java... | 6,943 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ssl/AbstractSslContextFactory.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,944 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ssl/URLSslContextFactory.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,945 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/ssl/ClientSslSocketFactoryException.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,946 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/util/Resources.java | package com.netflix.client.util;
import java.io.File;
import java.net.URL;
import java.net.URLDecoder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public abstract class Resources {
private static final Logger logger = LoggerFactory.getLogger(Resources.class);
public static URL getResource(S... | 6,947 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/ReloadableClientConfig.java | package com.netflix.client.config;
import com.google.common.base.Preconditions;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import... | 6,948 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/PropertyResolver.java | package com.netflix.client.config;
import java.util.Optional;
import java.util.function.BiConsumer;
/**
* Internal abstraction to decouple the property source from Ribbon's internal configuration.
*/
public interface PropertyResolver {
/**
* @return Get the value of a property or Optional.empty() if not se... | 6,949 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/Property.java | package com.netflix.client.config;
import java.util.Optional;
import java.util.function.Consumer;
/**
* Ribbon specific encapsulation of a dynamic configuration property
* @param <T>
*/
public interface Property<T> {
/**
* Register a consumer to be called when the configuration changes
* @param consu... | 6,950 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/FallbackProperty.java | package com.netflix.client.config;
import java.util.Optional;
import java.util.function.Consumer;
public final class FallbackProperty<T> implements Property<T> {
private final Property<T> primary;
private final Property<T> fallback;
public FallbackProperty(Property<T> primary, Property<T> fallback) {
... | 6,951 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/IClientConfig.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,952 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/UnboxedIntProperty.java | package com.netflix.client.config;
public class UnboxedIntProperty {
private volatile int value;
public UnboxedIntProperty(Property<Integer> delegate) {
this.value = delegate.getOrDefault();
delegate.onChange(newValue -> this.value = newValue);
}
public UnboxedIntProperty(int constan... | 6,953 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/ClientConfigFactory.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,954 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/AbstractDefaultClientConfigImpl.java | package com.netflix.client.config;
import com.netflix.client.VipAddressResolver;
import java.util.concurrent.TimeUnit;
/**
* This class only exists to support code that depends on these constants that are deprecated now that defaults have
* moved into the key.
*/
@Deprecated
public abstract class AbstractDefaultC... | 6,955 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/IClientConfigKey.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,956 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/CommonClientConfigKey.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,957 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/config/PropertyUtils.java | package com.netflix.client.config;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Method;
import java.util.Map;
import java.util.Optional;
import java.util.concurrent.ConcurrentHashMap;
public class PropertyUtils {
private static Logger LOG = LoggerFactory.getLogger(PropertyUti... | 6,958 |
0 | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client | Create_ds/ribbon/ribbon-core/src/main/java/com/netflix/client/http/UnexpectedHttpResponseException.java | package com.netflix.client.http;
public class UnexpectedHttpResponseException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
private final int statusCode;
private final String line;
public UnexpectedHttpResponseException(int statusCode, Strin... | 6,959 |
0 | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/RxMovieServerTest.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,960 |
0 | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/RxMovieClientTestBase.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,961 |
0 | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/transport/RxMovieTransportExampleTest.java | package com.netflix.ribbon.examples.rx.transport;
import com.netflix.ribbon.examples.rx.RxMovieClientTestBase;
import org.junit.Test;
import static junit.framework.Assert.*;
/**
* @author Tomasz Bak
*/
public class RxMovieTransportExampleTest extends RxMovieClientTestBase {
@Test
public void testTemplateE... | 6,962 |
0 | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/proxy/RxMovieProxyExampleTest.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,963 |
0 | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/template/RxMovieTemplateExampleTest.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,964 |
0 | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/common/MovieTest.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,965 |
0 | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/test/java/com/netflix/ribbon/examples/rx/common/RecommendationsTest.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,966 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/ExampleAppWithLocalResource.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,967 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/loadbalancer/URLConnectionLoadBalancer.java | package com.netflix.ribbon.examples.loadbalancer;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
import rx.Observable;
import com.google.common.collect.Lists;
import com.netflix.client.DefaultLoadBalancerRetryHandler;
import com.netflix.client.Re... | 6,968 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/server/ServerResources.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,969 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/netty | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/netty/http/LoadBalancingExample.java | package com.netflix.ribbon.examples.netty.http;
import io.netty.buffer.ByteBuf;
import io.reactivex.netty.protocol.http.client.HttpClientRequest;
import io.reactivex.netty.protocol.http.client.HttpClientResponse;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import rx.Observer;
import com.googl... | 6,970 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/netty | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/netty/http/SimpleGet.java | package com.netflix.ribbon.examples.netty.http;
import com.netflix.ribbon.transport.netty.RibbonTransport;
import com.netflix.ribbon.transport.netty.http.LoadBalancingHttpClient;
import io.netty.buffer.ByteBuf;
import io.reactivex.netty.protocol.http.client.HttpClientRequest;
import io.reactivex.netty.protocol.http.cl... | 6,971 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/restclient/SampleApp.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,972 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/AbstractRxMovieClient.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,973 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/RxMovieServer.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,974 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/transport/RxMovieTransportExample.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,975 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/proxy/MovieService.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,976 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/proxy/RxMovieProxyExample.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,977 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/template/RxMovieTemplateExample.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,978 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/common/Recommendations.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,979 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/common/RxMovieTransformer.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,980 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/common/RecommendationServiceFallbackHandler.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,981 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/common/RecommendationServiceResponseValidator.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,982 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/common/Movie.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,983 |
0 | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx | Create_ds/ribbon/ribbon-examples/src/main/java/com/netflix/ribbon/examples/rx/common/InMemoryCacheProviderFactory.java | /*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 6,984 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/BestAvailableRuleTest.java | /*
*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,985 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/ConfigurationBasedServerListTest.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,986 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/MockServerList.java | package com.netflix.loadbalancer;
import java.util.List;
import com.google.common.collect.Lists;
import com.netflix.client.config.IClientConfig;
public class MockServerList extends AbstractServerList<Server> {
private List<Server> serverList = Lists.newArrayList();
public void setServerList(Li... | 6,987 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/ServerListLoabBalancerTest.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,988 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/SubsetFilterTest.java | /**
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 6,989 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/SimpleRoundRobinWithRetryLBTest.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,990 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/WeightedResponseTimeRuleTest.java | package com.netflix.loadbalancer;
import org.awaitility.core.ThrowingRunnable;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.List;
import static java.util.Arrays.asList;
import static java.util.Collections.singletonList;
import static org.awaitility.Awaitility.await;
import... | 6,991 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/ServerListChangeListenerTest.java | /*
*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,992 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/PredicatesTest.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,993 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/ServerStatsTest.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,994 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/ZoneAwareLoadBalancerTest.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,995 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/SimpleRoundRobinLBTest.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6,996 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/DynamicServerListLoadBalancerTest.java | /*
*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 6,997 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/PollingServerListUpdaterTest.java | package com.netflix.loadbalancer;
import org.junit.Test;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicLong;
import static org.junit.Assert.assertTrue;
/**
* @author David Liu
*/
public class PollingServerListUpdaterTest {
private f... | 6,998 |
0 | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix | Create_ds/ribbon/ribbon-loadbalancer/src/test/java/com/netflix/loadbalancer/LoadBalancerCommandTest.java | package com.netflix.loadbalancer;
import static org.junit.Assert.assertEquals;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.Test;
import rx.Observable;
import rx.Observable.OnSubscribe;
import rx.Subscriber;
import com.google.common.collect.Lists;
import com.netflix.cli... | 6,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.