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/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/ScalarResourceTests.java | /*
* Copyright 2016 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... | 9,100 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/ResourceSetsTests.java | /*
* Copyright 2015 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... | 9,101 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/TestLongRunningScheduler.java | /*
* Copyright 2015 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... | 9,102 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/ResAllocsProvider.java | /*
* Copyright 2015 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... | 9,103 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/SampleLargeNumTasksToInit.java | package com.netflix.fenzo;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.netflix.fenzo.queues.QAttributes;
import com.netflix.fenzo.queues.Qu... | 9,104 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/NaiveShortfallEvaluatorTest.java | package com.netflix.fenzo;
import com.netflix.fenzo.queues.QAttributes;
import com.netflix.fenzo.queues.QueuableTask;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import static java.util.Arrays.as... | 9,105 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/AutoScalerTest.java | /*
* Copyright 2015 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... | 9,106 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/ConstraintsProvider.java | /*
* Copyright 2015 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... | 9,107 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/ScaleDownConstraintExecutorTest.java | package com.netflix.fenzo;
import org.junit.Before;
import org.junit.Test;
import org.mockito.invocation.InvocationOnMock;
import java.util.*;
import java.util.stream.Collectors;
import static com.netflix.fenzo.plugins.TestableVirtualMachineLease.leasesWithIds;
import static java.util.Arrays.asList;
import static or... | 9,108 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/SingleOfferModelTests.java | /*
* Copyright 2015 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... | 9,109 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/TaskRequestProvider.java | /*
* Copyright 2015 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... | 9,110 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/ResAllocsTests.java | /*
* Copyright 2015 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... | 9,111 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/RandomTaskGenerator.java | /*
* Copyright 2015 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... | 9,112 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/ConstraintsTests.java | /*
* Copyright 2015 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... | 9,113 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/LeaseProvider.java | /*
* Copyright 2015 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... | 9,114 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/BinPackingSchedulerTests.java | /*
* Copyright 2015 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... | 9,115 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/BasicSchedulerTests.java | /*
* Copyright 2015 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... | 9,116 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/TaskSchedulingServiceTest.java | /*
* Copyright 2016 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... | 9,117 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/AutoScaleRuleProvider.java | /*
* Copyright 2015 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... | 9,118 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/TaskCompleter.java | /*
* Copyright 2015 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... | 9,119 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/ActiveVmGroupsTests.java | /*
* Copyright 2015 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... | 9,120 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/ShortfallAutoscalerTest.java | /*
* Copyright 2017 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... | 9,121 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/SpreadingSchedulerTests.java | /*
* Copyright 2015 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... | 9,122 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/plugins/BalancedScaleDownConstraintEvaluatorTest.java | /*
* Copyright 2017 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... | 9,123 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/plugins/TestableVirtualMachineLease.java | /*
* Copyright 2017 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... | 9,124 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/plugins/WeightedAverageFitnessCalculatorTest.java | package com.netflix.fenzo.plugins;
import java.util.Arrays;
import java.util.List;
import com.netflix.fenzo.TaskRequest;
import com.netflix.fenzo.TaskTrackerState;
import com.netflix.fenzo.VMTaskFitnessCalculator;
import com.netflix.fenzo.VirtualMachineCurrentState;
import com.netflix.fenzo.plugins.WeightedAverageFit... | 9,125 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues/tiered/TieredQueueSlasTest.java | package com.netflix.fenzo.queues.tiered;
import org.junit.Test;
import java.util.Map;
import static com.netflix.fenzo.queues.tiered.SampleDataGenerator.createResAllocs;
import static com.netflix.fenzo.sla.ResAllocsUtil.hasEqualResources;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.Cor... | 9,126 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues/tiered/QueueBucketTest.java | package com.netflix.fenzo.queues.tiered;
import com.netflix.fenzo.queues.QueuableTask;
import com.netflix.fenzo.queues.UsageTrackedQueue.ResUsage;
import com.netflix.fenzo.sla.ResAllocs;
import com.netflix.fenzo.sla.ResAllocsBuilder;
import org.junit.Test;
import java.util.function.BiFunction;
import static com.netf... | 9,127 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues/tiered/SortedBucketsTest.java | /*
* Copyright 2016 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... | 9,128 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues/tiered/TierTest.java | package com.netflix.fenzo.queues.tiered;
import com.netflix.fenzo.queues.Assignable;
import com.netflix.fenzo.queues.QueuableTask;
import com.netflix.fenzo.queues.TaskQueueException;
import com.netflix.fenzo.sla.ResAllocs;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Ha... | 9,129 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues/tiered/SampleDataGenerator.java | package com.netflix.fenzo.queues.tiered;
import com.netflix.fenzo.ConstraintEvaluator;
import com.netflix.fenzo.VMTaskFitnessCalculator;
import com.netflix.fenzo.queues.QAttributes;
import com.netflix.fenzo.queues.QueuableTask;
import com.netflix.fenzo.sla.ResAllocs;
import com.netflix.fenzo.sla.ResAllocsBuilder;
impo... | 9,130 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues/tiered/TieredQueueTest.java | /*
* Copyright 2016 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... | 9,131 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/queues/tiered/QueuableTaskProvider.java | /*
* Copyright 2016 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... | 9,132 |
0 | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/test/java/com/netflix/fenzo/sla/ResAllocsUtilTest.java | package com.netflix.fenzo.sla;
import com.netflix.fenzo.VMResource;
import com.netflix.fenzo.queues.QueuableTask;
import com.netflix.fenzo.queues.tiered.SampleDataGenerator;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
import static com.netflix.fenzo.sla.ResAllocsUtil.hasEqualResources;
imp... | 9,133 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/VMTaskFitnessCalculator.java | /*
* Copyright 2015 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... | 9,134 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/AssignableVMs.java | /*
* Copyright 2015 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... | 9,135 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ScaleDownConstraintExecutor.java | /*
* Copyright 2017 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... | 9,136 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java | /*
* Copyright 2015 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... | 9,137 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/PreferentialNamedConsumableResourceEvaluator.java | package com.netflix.fenzo;
import com.netflix.fenzo.PreferentialNamedConsumableResourceSet.PreferentialNamedConsumableResource;
/**
* Evaluator for {@link PreferentialNamedConsumableResource} selection process. Given an agent with matching
* ENI slot (either empty or with a matching name), this evaluator computes t... | 9,138 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ScaleDownOrderEvaluator.java | /*
* Copyright 2017 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... | 9,139 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/AsSoftConstraint.java | /*
* Copyright 2015 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... | 9,140 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/TaskIterator.java | /*
* Copyright 2016 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... | 9,141 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/AutoScalerInput.java | /*
* Copyright 2015 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... | 9,142 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/CompositeSchedulingEventListener.java | package com.netflix.fenzo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.function.Consumer;
class CompositeSchedulingEventListener implements SchedulingEventListener {
private static final Logger logger =... | 9,143 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/AutoScaleRule.java | /*
* Copyright 2015 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... | 9,144 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/VirtualMachineCurrentState.java | /*
* Copyright 2015 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... | 9,145 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ActiveVmGroups.java | /*
* Copyright 2015 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... | 9,146 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/VMResource.java | /*
* Copyright 2015 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... | 9,147 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/AutoScaler.java | /*
* Copyright 2015 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... | 9,148 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/PreferentialNamedConsumableResourceSet.java | /*
* Copyright 2015 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... | 9,149 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/NoOpSchedulingEventListener.java | package com.netflix.fenzo;
class NoOpSchedulingEventListener implements SchedulingEventListener {
static final SchedulingEventListener INSTANCE = new NoOpSchedulingEventListener();
@Override
public void onScheduleStart() {
}
@Override
public void onAssignment(TaskAssignmentResult taskAssignm... | 9,150 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/TaskTrackerState.java | /*
* Copyright 2015 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... | 9,151 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/VMAssignmentResult.java | /*
* Copyright 2015 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... | 9,152 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ConstraintEvaluator.java | /*
* Copyright 2015 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... | 9,153 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/AutoScaleRules.java | /*
* Copyright 2015 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... | 9,154 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ShortfallEvaluator.java | /*
* Copyright 2017 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... | 9,155 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/StateMonitor.java | /*
* Copyright 2015 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... | 9,156 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ResAllocsEvaluater.java | /*
* Copyright 2015 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... | 9,157 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/SchedulingResult.java | /*
* Copyright 2015 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... | 9,158 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/InternalVMCloner.java | /*
* Copyright 2017 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... | 9,159 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/TaskRequest.java | /*
* Copyright 2015 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... | 9,160 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/VirtualMachineLease.java | /*
* Copyright 2015 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... | 9,161 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/AutoScaleAction.java | /*
* Copyright 2015 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... | 9,162 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/DefaultPreferentialNamedConsumableResourceEvaluator.java | package com.netflix.fenzo;
/**
* Default {@link PreferentialNamedConsumableResourceEvaluator} implementation.
*/
public class DefaultPreferentialNamedConsumableResourceEvaluator implements PreferentialNamedConsumableResourceEvaluator {
public static final PreferentialNamedConsumableResourceEvaluator INSTANCE = ... | 9,163 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/BaseShortfallEvaluator.java | /*
* Copyright 2017 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... | 9,164 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/NaiveShortfallEvaluator.java | /*
* Copyright 2015 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... | 9,165 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ScaleDownAction.java | /*
* Copyright 2015 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... | 9,166 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/AssignableVirtualMachine.java | /*
* Copyright 2015 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... | 9,167 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/TaskTracker.java | /*
* Copyright 2015 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... | 9,168 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/DefaultFitnessCalculator.java | /*
* Copyright 2015 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... | 9,169 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ConstraintFailure.java | /*
* Copyright 2015 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... | 9,170 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/VMCollection.java | /*
* Copyright 2015 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... | 9,171 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/SchedulingEventListener.java | package com.netflix.fenzo;
/**
* A callback API providing notification about Fenzo task placement decisions during the scheduling process.
*/
public interface SchedulingEventListener {
/**
* Called before a new scheduling iteration is started.
*/
void onScheduleStart();
/**
* Called when... | 9,172 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ScaleUpAction.java | /*
* Copyright 2015 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... | 9,173 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/OptimizingShortfallEvaluator.java | /*
* Copyright 2017 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... | 9,174 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/TaskSchedulingService.java | /*
* Copyright 2016 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... | 9,175 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/AssignmentFailure.java | /*
* Copyright 2015 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... | 9,176 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/TaskAssignmentResult.java | /*
* Copyright 2015 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... | 9,177 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/ScaleDownConstraintEvaluator.java | /*
* Copyright 2017 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... | 9,178 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/VMLeaseObject.java | /*
* Copyright 2015 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... | 9,179 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/HostAttrValueConstraint.java | /*
* Copyright 2015 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... | 9,180 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/SpreadingFitnessCalculators.java | /*
* Copyright 2015 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... | 9,181 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/BalancedScaleDownConstraintEvaluator.java | /*
* Copyright 2017 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... | 9,182 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/AttributeUtilities.java | /*
* Copyright 2015 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... | 9,183 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/BinPackingFitnessCalculators.java | /*
* Copyright 2015 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... | 9,184 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/InactiveClusterScaleDownConstraintEvaluator.java | /*
* Copyright 2017 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... | 9,185 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/NoOpScaleDownOrderEvaluator.java | package com.netflix.fenzo.plugins;
import com.netflix.fenzo.ScaleDownOrderEvaluator;
import com.netflix.fenzo.VirtualMachineLease;
import java.util.*;
public class NoOpScaleDownOrderEvaluator implements ScaleDownOrderEvaluator {
@Override
public List<Set<VirtualMachineLease>> evaluate(Collection<VirtualMachi... | 9,186 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/BalancedHostAttrConstraint.java | /*
* Copyright 2015 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... | 9,187 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/UniqueHostAttrConstraint.java | /*
* Copyright 2015 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... | 9,188 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/ExclusiveHostConstraint.java | /*
* Copyright 2015 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... | 9,189 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/plugins/WeightedAverageFitnessCalculator.java | /*
* Copyright 2017 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... | 9,190 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/samples/SampleQbasedScheduling.java | /*
* Copyright 2016 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... | 9,191 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/samples/TaskGenerator.java | /*
* Copyright 2015 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... | 9,192 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/samples/SampleFramework.java | /*
* Copyright 2015 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... | 9,193 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/common/ThreadFactoryBuilder.java | package com.netflix.fenzo.common;
import java.util.Locale;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicLong;
/**
* A ThreadFactory builder based on <a href="https://github.com/google/guava">Guava's</a> ThreadFactoryBuilder.
*/
public final class ThreadFactoryBuilder {
pri... | 9,194 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/Assignable.java | package com.netflix.fenzo.queues;
import com.netflix.fenzo.AssignmentFailure;
/**
* A wrapper object containing a task, and optionally an assignment failure for this task.
*/
public class Assignable<T> {
private final T task;
private final AssignmentFailure assignmentFailure;
private Assignable(T task... | 9,195 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/TaskQueueException.java | /*
* Copyright 2016 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... | 9,196 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/TaskQueues.java | /*
* Copyright 2016 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... | 9,197 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/TaskQueueSla.java | /*
* Copyright 2017 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... | 9,198 |
0 | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo | Create_ds/Fenzo/fenzo-core/src/main/java/com/netflix/fenzo/queues/InternalTaskQueues.java | /*
* Copyright 2017 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... | 9,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.