Updated Branches: refs/heads/trunk 880ce10bf -> 4303dfa5e
Expose whether jna is enabled and memory is locked via JMX -- add new file Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/4303dfa5 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/4303dfa5 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/4303dfa5 Branch: refs/heads/trunk Commit: 4303dfa5e14331092efcef602fa91fd5b1904cc2 Parents: 880ce10 Author: Dave Brosius <dbros...@apache.org> Authored: Sun Jun 2 01:38:48 2013 -0400 Committer: Dave Brosius <dbros...@apache.org> Committed: Sun Jun 2 01:38:48 2013 -0400 ---------------------------------------------------------------------- .../cassandra/service/NativeAccessMBean.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/4303dfa5/src/java/org/apache/cassandra/service/NativeAccessMBean.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/service/NativeAccessMBean.java b/src/java/org/apache/cassandra/service/NativeAccessMBean.java new file mode 100644 index 0000000..39b96c5 --- /dev/null +++ b/src/java/org/apache/cassandra/service/NativeAccessMBean.java @@ -0,0 +1,9 @@ +package org.apache.cassandra.service; + +public interface NativeAccessMBean +{ + boolean isAvailable(); + + boolean isMemoryLockable(); +} +