cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1163202 - /cassandra/trunk/src/java/org/apache/cassandra/gms/GossiperMBean.java
Date Tue, 30 Aug 2011 13:21:51 GMT
Author: jbellis
Date: Tue Aug 30 13:21:50 2011
New Revision: 1163202

URL: http://svn.apache.org/viewvc?rev=1163202&view=rev
Log:
add GossiperMBean

Added:
    cassandra/trunk/src/java/org/apache/cassandra/gms/GossiperMBean.java

Added: cassandra/trunk/src/java/org/apache/cassandra/gms/GossiperMBean.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/gms/GossiperMBean.java?rev=1163202&view=auto
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/gms/GossiperMBean.java (added)
+++ cassandra/trunk/src/java/org/apache/cassandra/gms/GossiperMBean.java Tue Aug 30 13:21:50
2011
@@ -0,0 +1,31 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.cassandra.gms;
+
+import java.net.UnknownHostException;
+
+public interface GossiperMBean
+{
+    public int getVersion(String address) throws UnknownHostException;
+
+    public long getEndpointDowntime(String address) throws UnknownHostException;
+
+    public int getCurrentGenerationNumber(String address) throws UnknownHostException;
+
+}
\ No newline at end of file



Mime
View raw message