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/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/publish/package-info.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,000
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/publish/JmxConnector.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,001
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/publish/MonitorRegistryMetricPoller.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,002
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/ThreadLocalTaggingContext.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,003
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/SmallTagMap.java
/** * Copyright 2014 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,004
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/TaggingContext.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,005
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/BasicTag.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...
3,006
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/Tags.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,007
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/SortedTagList.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,008
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/Tag.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,009
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/TagComparator.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,010
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/BasicTagList.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...
3,011
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/StandardTagKeys.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,012
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/InjectableTag.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,013
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/TagList.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,014
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/tag/package-info.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,015
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/stats/StatsBuffer.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...
3,016
0
Create_ds/servo/servo-core/src/main/java/com/netflix/servo
Create_ds/servo/servo-core/src/main/java/com/netflix/servo/stats/StatsConfig.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,017
0
Create_ds/servo/servo-aws/src/test/java/com/netflix/servo/publish
Create_ds/servo/servo-aws/src/test/java/com/netflix/servo/publish/cloudwatch/CloudWatchValueTest.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,018
0
Create_ds/servo/servo-aws/src/test/java/com/netflix/servo/publish
Create_ds/servo/servo-aws/src/test/java/com/netflix/servo/publish/cloudwatch/CloudWatchMetricObserverTest.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,019
0
Create_ds/servo/servo-aws/src/test/java/com/netflix/servo
Create_ds/servo/servo-aws/src/test/java/com/netflix/servo/aws/DataSourceTypeToAwsUnitTest.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,020
0
Create_ds/servo/servo-aws/src/test/java/com/netflix/servo/tag
Create_ds/servo/servo-aws/src/test/java/com/netflix/servo/tag/aws/AwsInjectableTagTest.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,021
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/publish
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/publish/cloudwatch/CloudWatchMetricObserver.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...
3,022
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/publish
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/publish/cloudwatch/package-info.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,023
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws/AwsServiceClients.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,024
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws/DataSourceTypeToAwsUnit.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,025
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws/package-info.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,026
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws/AwsPropertyKeys.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,027
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws/constants/Namespace.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,028
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws/constants/Dimensions.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,029
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/aws/constants/package-info.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,030
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/tag
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/tag/aws/AwsInjectableTag.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,031
0
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/tag
Create_ds/servo/servo-aws/src/main/java/com/netflix/servo/tag/aws/package-info.java
/** * Copyright 2013 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
3,032
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/StringMarshaller.java
package com.netflix.concurrency.limits.grpc; import java.io.ByteArrayInputStream; 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 io.grpc.MethodDescriptor.Marshaller; public final class ...
3,033
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server/ConcurrencyLimitServerInterceptorTest.java
package com.netflix.concurrency.limits.grpc.server; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.Uninterruptibles; import com.netflix.concurrency.limits.Limiter; import com.netflix.concurrency.limits.grpc.StringMarshaller; import com.netflix.concurrency.limits.grp...
3,034
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server/example/PartitionedExample.java
package com.netflix.concurrency.limits.grpc.server.example; import com.netflix.concurrency.limits.grpc.server.GrpcServerLimiterBuilder; import com.netflix.concurrency.limits.limit.Gradient2Limit; import com.netflix.concurrency.limits.limit.WindowedLimit; import java.io.IOException; import java.text.MessageFormat; imp...
3,035
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server/example/LatencyCollector.java
package com.netflix.concurrency.limits.grpc.server.example; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Consumer; public class LatencyCollector implements Consumer<Long> { private static class Metrics { long count; long total; public Metrics() { ...
3,036
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server/example/Driver.java
package com.netflix.concurrency.limits.grpc.server.example; import com.google.common.util.concurrent.Uninterruptibles; import com.netflix.concurrency.limits.grpc.client.ConcurrencyLimitClientInterceptor; import com.netflix.concurrency.limits.limit.FixedLimit; import com.netflix.concurrency.limits.limiter.SimpleLimiter...
3,037
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server/example/Example.java
package com.netflix.concurrency.limits.grpc.server.example; import com.netflix.concurrency.limits.grpc.server.GrpcServerLimiterBuilder; import com.netflix.concurrency.limits.limit.Gradient2Limit; import com.netflix.concurrency.limits.limit.GradientLimit; import com.netflix.concurrency.limits.limit.WindowedLimit; impo...
3,038
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/server/example/TestServer.java
package com.netflix.concurrency.limits.grpc.server.example; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Executors; import java.util.concurrent.Semaphore; import java.util.concurrent.TimeUnit; import java.util.function.Supplier; import org.apache.commons.m...
3,039
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/mockito/OptionalResultCaptor.java
package com.netflix.concurrency.limits.grpc.mockito; import org.mockito.Mockito; import org.mockito.invocation.InvocationOnMock; import org.mockito.stubbing.Answer; import java.util.Optional; public class OptionalResultCaptor<T> implements Answer<Optional<T>> { public static <T> OptionalResultCaptor<T> forClass...
3,040
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc
Create_ds/concurrency-limits/concurrency-limits-grpc/src/test/java/com/netflix/concurrency/limits/grpc/client/ConcurrencyLimitClientInterceptorTest.java
package com.netflix.concurrency.limits.grpc.client; import com.netflix.concurrency.limits.Limiter; import com.netflix.concurrency.limits.grpc.StringMarshaller; import io.grpc.CallOptions; import io.grpc.Channel; import io.grpc.MethodDescriptor; import io.grpc.MethodDescriptor.MethodType; import io.grpc.Server; import...
3,041
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc/server/ConcurrencyLimitServerInterceptor.java
/** * Copyright 2018 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 ...
3,042
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc/server/GrpcServerLimiterBuilder.java
/** * Copyright 2018 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 ...
3,043
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc/server/GrpcServerRequestContext.java
/** * Copyright 2018 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 ...
3,044
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc/client/GrpcClientLimiterBuilder.java
/** * Copyright 2018 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 ...
3,045
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc/client/ConcurrencyLimitClientInterceptor.java
/** * Copyright 2018 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 ...
3,046
0
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc
Create_ds/concurrency-limits/concurrency-limits-grpc/src/main/java/com/netflix/concurrency/limits/grpc/client/GrpcClientRequestContext.java
/** * Copyright 2018 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 ...
3,047
0
Create_ds/concurrency-limits/concurrency-limits-spectator/src/test/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-spectator/src/test/java/com/netflix/concurrency/limits/spectator/SpectatorMetricRegistryTest.java
package com.netflix.concurrency.limits.spectator; import org.junit.Assert; import org.junit.Test; import com.netflix.spectator.api.DefaultRegistry; import com.netflix.spectator.api.patterns.PolledMeter; public class SpectatorMetricRegistryTest { @Test public void testGuage() { DefaultRegistry registr...
3,048
0
Create_ds/concurrency-limits/concurrency-limits-spectator/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-spectator/src/main/java/com/netflix/concurrency/limits/spectator/SpectatorMetricRegistry.java
/** * Copyright 2018 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 ...
3,049
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit/ExpAvgMeasurementTest.java
package com.netflix.concurrency.limits.limit; import com.netflix.concurrency.limits.limit.measurement.ExpAvgMeasurement; import org.junit.Assert; import org.junit.Test; import java.util.Arrays; import java.util.List; public class ExpAvgMeasurementTest { @Test public void testWarmup() { ExpAvgMeasurem...
3,050
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit/VegasLimitTest.java
package com.netflix.concurrency.limits.limit; import junit.framework.Assert; import org.junit.Test; import java.util.concurrent.TimeUnit; public class VegasLimitTest { public static VegasLimit create() { return VegasLimit.newBuilder() .alpha(3) .beta(6) .sm...
3,051
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit/AIMDLimitTest.java
package com.netflix.concurrency.limits.limit; import junit.framework.Assert; import org.junit.Test; import java.util.concurrent.TimeUnit; public class AIMDLimitTest { @Test public void testDefault() { AIMDLimit limiter = AIMDLimit.newBuilder().initialLimit(10).build(); Assert.assertEquals(10,...
3,052
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit/window/ImmutableAverageSampleWindowTest.java
/** * Copyright 2019 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 ...
3,053
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit/window/ImmutablePercentileSampleWindowTest.java
/** * Copyright 2019 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 ...
3,054
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit/functions/SquareRootFunctionTest.java
package com.netflix.concurrency.limits.limit.functions; import java.util.function.Function; import org.junit.Assert; import org.junit.Test; public class SquareRootFunctionTest { @Test public void confirm0Index() { Function<Integer, Integer> func = SquareRootFunction.create(4); Assert.assertEq...
3,055
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limit/functions/Log10RootFunctionTest.java
package com.netflix.concurrency.limits.limit.functions; import org.junit.Assert; import org.junit.Test; import java.util.function.Function; public class Log10RootFunctionTest { @Test public void test0Index() { Function<Integer, Integer> func = Log10RootFunction.create(0); Assert.assertEquals(...
3,056
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limiter/LifoBlockingLimiterTest.java
package com.netflix.concurrency.limits.limiter; import com.netflix.concurrency.limits.Limiter; import com.netflix.concurrency.limits.limit.SettableLimit; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Arrays; import java...
3,057
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limiter/BlockingLimiterTest.java
package com.netflix.concurrency.limits.limiter; import com.netflix.concurrency.limits.Limiter; import com.netflix.concurrency.limits.limit.SettableLimit; import org.junit.Assert; import org.junit.Test; import java.time.Duration; import java.time.Instant; import java.util.LinkedList; import java.util.Optional; import ...
3,058
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/limiter/AbstractPartitionedLimiterTest.java
package com.netflix.concurrency.limits.limiter; import com.netflix.concurrency.limits.Limiter; import com.netflix.concurrency.limits.limit.FixedLimit; import com.netflix.concurrency.limits.limit.SettableLimit; import org.junit.Assert; import org.junit.Test; import java.util.Optional; import java.util.function.Functio...
3,059
0
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/test/java/com/netflix/concurrency/limits/executor/BlockingAdaptiveExecutorSimulation.java
package com.netflix.concurrency.limits.executor; import java.util.concurrent.Executor; import java.util.concurrent.Executors; import java.util.concurrent.Semaphore; import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import java.util.fu...
3,060
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/MetricRegistry.java
/** * Copyright 2018 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 ...
3,061
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/Limiter.java
/** * Copyright 2018 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 ...
3,062
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/MetricIds.java
/** * Copyright 2018 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 ...
3,063
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/Limit.java
/** * Copyright 2018 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 ...
3,064
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/LimiterRegistry.java
/** * Copyright 2018 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 ...
3,065
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/VegasLimit.java
/** * Copyright 2018 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 ...
3,066
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/WindowedLimit.java
/** * Copyright 2018 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 ...
3,067
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/Gradient2Limit.java
/** * Copyright 2018 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 ...
3,068
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/AbstractLimit.java
/** * Copyright 2018 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 ...
3,069
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/AIMDLimit.java
/** * Copyright 2018 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 ...
3,070
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/GradientLimit.java
/** * Copyright 2018 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 ...
3,071
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/FixedLimit.java
/** * Copyright 2018 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 ...
3,072
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/SettableLimit.java
/** * Copyright 2018 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 ...
3,073
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/TracingLimitDecorator.java
/** * Copyright 2018 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 ...
3,074
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/measurement/MinimumMeasurement.java
/** * Copyright 2018 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 ...
3,075
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/measurement/SingleMeasurement.java
package com.netflix.concurrency.limits.limit.measurement; import java.util.function.Function; public class SingleMeasurement implements Measurement { private Number value = null; @Override public Number add(Number sample) { return value = sample; } @Override public Number get() { ...
3,076
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/measurement/Measurement.java
/** * Copyright 2018 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 ...
3,077
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/measurement/ExpAvgMeasurement.java
/** * Copyright 2018 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 ...
3,078
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/window/AverageSampleWindowFactory.java
/** * Copyright 2019 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 ...
3,079
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/window/ImmutablePercentileSampleWindow.java
/** * Copyright 2019 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 ...
3,080
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/window/SampleWindow.java
/** * Copyright 2019 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 ...
3,081
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/window/ImmutableAverageSampleWindow.java
/** * Copyright 2018 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 ...
3,082
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/window/PercentileSampleWindowFactory.java
/** * Copyright 2019 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 ...
3,083
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/window/SampleWindowFactory.java
/** * Copyright 2019 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 ...
3,084
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/functions/Log10RootFunction.java
/** * Copyright 2018 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 ...
3,085
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limit/functions/SquareRootFunction.java
/** * Copyright 2018 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 ...
3,086
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/AbstractPartitionedLimiter.java
/** * Copyright 2018 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 ...
3,087
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/AbstractLimiter.java
/** * Copyright 2018 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 ...
3,088
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/SimpleLimiter.java
/** * Copyright 2018 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 ...
3,089
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/LifoBlockingLimiter.java
/** * Copyright 2018 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 ...
3,090
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/limiter/BlockingLimiter.java
/** * Copyright 2018 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 ...
3,091
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/internal/Preconditions.java
/** * Copyright 2018 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 ...
3,092
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/internal/EmptyMetricRegistry.java
/** * Copyright 2018 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 ...
3,093
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/executors/BlockingAdaptiveExecutor.java
/** * Copyright 2018 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 ...
3,094
0
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits
Create_ds/concurrency-limits/concurrency-limits-core/src/main/java/com/netflix/concurrency/limits/executors/UncheckedTimeoutException.java
package com.netflix.concurrency.limits.executors; public class UncheckedTimeoutException extends RuntimeException { private static final long serialVersionUID = 0; public UncheckedTimeoutException() {} public UncheckedTimeoutException(String message) { super(message); } public UncheckedT...
3,095
0
Create_ds/concurrency-limits/concurrency-limits-servlet/src/test/java/com/netflix/concurrency
Create_ds/concurrency-limits/concurrency-limits-servlet/src/test/java/com/netflix/concurrency/limits/ConcurrencyLimitServletFilterSimulationTest.java
package com.netflix.concurrency.limits; import com.netflix.concurrency.limits.executors.BlockingAdaptiveExecutor; import com.netflix.concurrency.limits.limit.FixedLimit; import com.netflix.concurrency.limits.limit.VegasLimit; import com.netflix.concurrency.limits.limiter.SimpleLimiter; import com.netflix.concurrency.l...
3,096
0
Create_ds/concurrency-limits/concurrency-limits-servlet/src/test/java/com/netflix/concurrency
Create_ds/concurrency-limits/concurrency-limits-servlet/src/test/java/com/netflix/concurrency/limits/GroupServletLimiterTest.java
package com.netflix.concurrency.limits; import com.netflix.concurrency.limits.Limiter.Listener; import com.netflix.concurrency.limits.limit.VegasLimit; import com.netflix.concurrency.limits.servlet.ServletLimiterBuilder; import java.security.Principal; import java.util.HashMap; import java.util.Map; import java.util....
3,097
0
Create_ds/concurrency-limits/concurrency-limits-servlet/src/test/java/com/netflix/concurrency
Create_ds/concurrency-limits/concurrency-limits-servlet/src/test/java/com/netflix/concurrency/limits/ConcurrencyLimitServletFilterTest.java
package com.netflix.concurrency.limits; import com.netflix.concurrency.limits.servlet.ConcurrencyLimitServletFilter; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import org....
3,098
0
Create_ds/concurrency-limits/concurrency-limits-servlet/src/test/java/com/netflix/concurrency
Create_ds/concurrency-limits/concurrency-limits-servlet/src/test/java/com/netflix/concurrency/limits/HttpServerRule.java
package com.netflix.concurrency.limits; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.util.function.Consumer; import java.util.stream.Collectors; import org.eclipse.jetty.serv...
3,099