Hi Everyone
Thanks for your all of your terrific work. I have a question about
org/apache/cassandra/service/AntiEntropyService.java. It's declared as a
Singleton with this line and comment:

 // singleton enforcement
    public static final AntiEntropyService instance = new
AntiEntropyService();

But the constructor is protected, not private:

 protected AntiEntropyService()
    {
        naturalRepairs = new ConcurrentHashMap<CFPair, Long>();
        trees = new HashMap<CFPair, ExpiringMap<InetAddress, TreePair>>();
    }

Is there a particular special reason for that, since it's not "enforced" as
stated? Or should it just be declared private?

Thanks!
Eben

-- 
"In science there are no 'depths'; there is surface everywhere."
--Rudolph Carnap

Reply via email to