cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blake Eggleston (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7841) Pass static singleton instances into constructors of dependent classes
Date Fri, 05 Sep 2014 00:05:24 GMT

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

Blake Eggleston commented on CASSANDRA-7841:
--------------------------------------------

re #1 again: otoh, this might be a good point to start making module level configs, with the
TokenMetaData going into LocatorConfig, and VersionedValueFactory /bootstrap state going into
GMSConfig. Sorry for the rapid fire comments.

> Pass static singleton instances into constructors of dependent classes
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-7841
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7841
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
>
> Identify all non-singleton usages of static state (grep for '.instance.'), and refactor
to pass dependencies into their constructors from their instantiating services.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message