cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject svn commit: r1186069 - /cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/thrift/ThriftValidation.java
Date Wed, 19 Oct 2011 10:19:57 GMT
Author: slebresne
Date: Wed Oct 19 10:19:57 2011
New Revision: 1186069

URL: http://svn.apache.org/viewvc?rev=1186069&view=rev
Log:
Fix build

Modified:
    cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/thrift/ThriftValidation.java

Modified: cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/thrift/ThriftValidation.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/thrift/ThriftValidation.java?rev=1186069&r1=1186068&r2=1186069&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/thrift/ThriftValidation.java
(original)
+++ cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/thrift/ThriftValidation.java
Wed Oct 19 10:19:57 2011
@@ -720,16 +720,6 @@ public class ThriftValidation
                                                             max_compaction_threshold));
     }
 
-    public static void validateMemtableSettings(org.apache.cassandra.thrift.CfDef cf_def)
throws ConfigurationException
-    {
-        if (cf_def.isSetMemtable_flush_after_mins())
-            DatabaseDescriptor.validateMemtableFlushPeriod(cf_def.memtable_flush_after_mins);
-        if (cf_def.isSetMemtable_throughput_in_mb())
-            DatabaseDescriptor.validateMemtableThroughput(cf_def.memtable_throughput_in_mb);
-        if (cf_def.isSetMemtable_operations_in_millions())
-            DatabaseDescriptor.validateMemtableOperations(cf_def.memtable_operations_in_millions);
-    }
-
     public static void validateKeyspaceNotYetExisting(String newKsName) throws InvalidRequestException
     {
         // keyspace names must be unique case-insensitively because the keyspace name becomes
the directory



Mime
View raw message