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] [Updated] (CASSANDRA-7840) Refactor static state & functions into static singletons
Date Wed, 27 Aug 2014 17:45:57 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-7840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Blake Eggleston updated CASSANDRA-7840:
---------------------------------------

    Description: 
1st step of CASSANDRA-7837.

Things like DatabaseDescriptor.getPartitioner() should become DatabaseDescriptor.instance.getPartitioner().
In cases where there is a mix of instance state and static functionality (Keyspace & ColumnFamilyStore
classes), the static portion should be split off into singleton factory classes.

  was:
1st step of CASSANDRA-7837.

Things lik DatabaseDescriptor.getPartitioner() should become DatabaseDescriptor.instance.getPartitioner().
In cases where there is a mix of instance state and static functionality (Keyspace & ColumnFamilyStore
classes), the static portion should be split off into singleton factory classes.


> Refactor static state & functions into static singletons
> --------------------------------------------------------
>
>                 Key: CASSANDRA-7840
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7840
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Blake Eggleston
>
> 1st step of CASSANDRA-7837.
> Things like DatabaseDescriptor.getPartitioner() should become DatabaseDescriptor.instance.getPartitioner().
In cases where there is a mix of instance state and static functionality (Keyspace & ColumnFamilyStore
classes), the static portion should be split off into singleton factory classes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message