josh-mckenzie commented on a change in pull request #1213:
URL: https://github.com/apache/cassandra/pull/1213#discussion_r715775282



##########
File path: src/java/org/apache/cassandra/config/DatabaseDescriptor.java
##########
@@ -3447,6 +3447,86 @@ public static void 
setConsecutiveMessageErrorsThreshold(int value)
         conf.consecutive_message_errors_threshold = value;
     }
 
+    public static boolean enablePartitionDenylist()
+    {
+        return conf.enable_partition_denylist;
+    }
+
+    public static void setEnablePartitionDenylist(boolean enabled)
+    {
+        conf.enable_partition_denylist = enabled;
+    }
+
+    public static boolean enableDenylistWrites()
+    {
+        return conf.enable_denylist_writes;
+    }
+
+    public static void setEnableDenylistWrites(boolean enabled)
+    {
+        conf.enable_denylist_writes = enabled;
+    }
+
+    public static boolean enableDenylistReads()
+    {
+        return conf.enable_denylist_reads;
+    }
+
+    public static void setEnableDenylistReads(boolean enabled)
+    {
+        conf.enable_denylist_reads = enabled;
+    }
+
+    public static boolean enableDenylistRangeReads()
+    {
+        return conf.enable_denylist_range_reads;
+    }
+
+    public static void setEnableDenylistRangeReads(boolean enabled)
+    {
+        conf.enable_denylist_range_reads = enabled;
+    }
+
+    public static int getDenylistRefreshPeriodSeconds()
+    {
+        return conf.denylist_refresh_period_seconds;
+    }
+
+    public static void setdenyDenylistRefreshPeriodSeconds(int period)
+    {
+        conf.denylist_refresh_period_seconds = period;
+    }
+
+    public static int getDenylistInitialLoadRetrySeconds()
+    {
+        return conf.denylist_initial_load_retry_seconds;
+    }
+
+    public static void setdenyDenylistInitialLoadRetrySeconds(int seconds)
+    {
+        conf.denylist_initial_load_retry_seconds = seconds;
+    }
+
+    public static int maxdenyDenylistKeysPerTable()
+    {
+        return conf.max_denylist_keys_per_table;
+    }
+
+    public static int maxdenyDenylistKeysTotal()
+    {
+        return conf.max_denylist_keys_total;
+    }
+
+    public static ConsistencyLevel denylistConsistencyLevel()

Review comment:
       Yeah, this was just sloppiness on the quick port on my part. Tidying up; 
will push commit w/all this in a few.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to