@@ -0,0 +1,1308 @@
+package com.github.phantomthief.failover.impl;%0A%0Aimport static java.util.Collections.emptySet;%0Aimport static java.util.Collections.singletonList;%0Aimport static java.util.Collections.unmodifiableList;%0Aimport static java.util.stream.Collectors.toList;%0A%0Aimport java.util.Collection;%0Aimport java.util.List;%0Aimport java.util.Set;%0A%0Aimport com.github.phantomthief.failover.Failover;%0A%0A/**%0A * @author w.vela%0A * Created on 16/6/2.%0A */%0Apublic class DummyFailover%3CT%3E implements Failover%3CT%3E %7B%0A%0A    private final Collection%3CT%3E all;%0A%0A    private DummyFailover(Collection%3CT%3E all) %7B%0A        this.all = all;%0A    %7D%0A%0A    public static %3CT%3E DummyFailover%3CT%3E ofCollection(Collection%3CT%3E all) %7B%0A        return new DummyFailover%3C%3E(all);%0A    %7D%0A%0A    public static %3CT%3E DummyFailover%3CT%3E ofSingle(T single) %7B%0A        return new DummyFailover%3C%3E(singletonList(single));%0A    %7D%0A%0A    @Override%0A    public List%3CT%3E getAll() %7B%0A        if (all instanceof List) %7B%0A            return unmodifiableList((List%3C? extends T%3E) all);%0A        %7D else %7B%0A            return all.stream().collect(toList());%0A        %7D%0A    %7D%0A%0A    @Override%0A    public void fail(T object) %7B%0A        // do nothing%0A    %7D%0A%0A    @Override%0A    public List%3CT%3E getAvailable() %7B%0A        return getAll();%0A    %7D%0A%0A    @Override%0A    public Set%3CT%3E getFailed() %7B%0A        return emptySet();%0A    %7D%0A%7D%0A

add dummy failover.