@@ -0,0 +1,1788 @@
+/*%0A * Copyright 2021 ScyllaDB%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *    http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.apache.cassandra.locator;%0A%0Aimport java.net.InetAddress;%0Aimport java.util.ArrayList;%0Aimport java.util.Collections;%0Aimport java.util.Collection;%0Aimport java.util.Iterator;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport org.apache.cassandra.exceptions.ConfigurationException;%0Aimport org.apache.cassandra.dht.Token;%0A%0A%0A/**%0A * This class returns all the nodes%0A */%0Apublic class EverywhereStrategy extends AbstractReplicationStrategy%0A%7B%0A    private final TokenMetadata metadata;%0A%0A    public EverywhereStrategy(String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch snitch, Map%3CString, String%3E configOptions)%0A    %7B%0A        super(keyspaceName, tokenMetadata, snitch, configOptions);%0A        metadata = tokenMetadata;%0A    %7D%0A%0A    public List%3CInetAddress%3E calculateNaturalEndpoints(Token token, TokenMetadata metadata)%0A    %7B%0A        return new ArrayList%3C%3E(metadata.getAllEndpoints());%0A    %7D%0A%0A    public int getReplicationFactor()%0A    %7B%0A        return metadata.getAllEndpoints().size();%0A    %7D%0A%0A    public void validateOptions() throws ConfigurationException%0A    %7B%0A    %7D%0A%0A    public Collection%3CString%3E recognizedOptions()%0A    %7B%0A        return Collections.%3CString%3EemptyList();%0A    %7D%0A%7D%0A

Add EverywhereStrategy class