cassandra-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-7843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137598#comment-14137598
] 

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: 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)

Mime
View raw message