You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ma...@apache.org on 2014/06/03 08:18:29 UTC

git commit: Add missing file

Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 0f2d7d0b9 -> f2a656e9d


Add missing file


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f2a656e9
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f2a656e9
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f2a656e9

Branch: refs/heads/cassandra-2.1
Commit: f2a656e9d6eb43fd5e6ca13603453bebd6fa210c
Parents: 0f2d7d0
Author: Marcus Eriksson <ma...@apache.org>
Authored: Tue Jun 3 08:18:00 2014 +0200
Committer: Marcus Eriksson <ma...@apache.org>
Committed: Tue Jun 3 08:18:00 2014 +0200

----------------------------------------------------------------------
 .../repair/IRepairJobEventListener.java         | 31 ++++++++++++++++++++
 1 file changed, 31 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f2a656e9/src/java/org/apache/cassandra/repair/IRepairJobEventListener.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/repair/IRepairJobEventListener.java b/src/java/org/apache/cassandra/repair/IRepairJobEventListener.java
new file mode 100644
index 0000000..778c09d
--- /dev/null
+++ b/src/java/org/apache/cassandra/repair/IRepairJobEventListener.java
@@ -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.repair;
+
+/**
+ * Implemented by the RepairSession to accept callbacks from sequential snapshot creation failure.
+ */
+
+public interface IRepairJobEventListener
+{
+    /**
+     * Signal that there was a failure during the snapshot creation process.
+     *
+     */
+    public void failedSnapshot();
+}