[
https://issues.apache.org/jira/browse/CASSANDRA-7843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137621#comment-14137621
]
Brandon Williams commented on CASSANDRA-7843:
---------------------------------------------
bq. Nobody's arguing that singletons are an antipattern, but yeah. Just 'get
rid of all the singletons' should not be the goal.
I agree with this, we need specific goals to solve and this approach seems to
be using the shotgun method and blasting anything with a singleton. A good
example of this is the CLI. Sure, we'll be removing the CLI in 3.0, but even
if we weren't, there's no reason to kill the singletons there just because
they're singletons.
> Remove static singleton instances
> ---------------------------------
>
> Key: CASSANDRA-7843
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7843
> 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
(v6.3.4#6332)