cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7843) Remove static singleton instances
Date Wed, 17 Sep 2014 17:31:35 GMT


Aleksey Yeschenko commented on CASSANDRA-7843:

Nobody's arguing that singletons are an antipattern, but yeah. Just 'get rid of all the singletons'
should not be the goal.

We should only refactor stuff if it makes code cleaner - be pragmatic, not absolutist. 400
commits. Man.

> Remove static singleton instances
> ---------------------------------
>                 Key: CASSANDRA-7843
>                 URL:
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
> Initialize and start C* from a static method that takes a configuration as an argument.
> CassandraDaemon and utilities will need to be updated, and we'll need a helper method
so tests can instantiate the database with a one or two liner.

This message was sent by Atlassian JIRA

View raw message