accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject [2/2] git commit: ACCUMULO-2354 ensure that the TabletLocationState iterator is closed
Date Wed, 19 Feb 2014 18:29:01 GMT
ACCUMULO-2354 ensure that the TabletLocationState iterator is closed


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

Branch: refs/heads/1.6.0-SNAPSHOT
Commit: aab22b2e586267823d6aff64269ad996dc870e95
Parents: 3a44bb0
Author: Eric Newton <eric.newton@gmail.com>
Authored: Wed Feb 19 13:27:38 2014 -0500
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Wed Feb 19 13:28:33 2014 -0500

----------------------------------------------------------------------
 .../server/master/state/ClosableIterator.java   | 23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/aab22b2e/server/base/src/main/java/org/apache/accumulo/server/master/state/ClosableIterator.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/master/state/ClosableIterator.java
b/server/base/src/main/java/org/apache/accumulo/server/master/state/ClosableIterator.java
new file mode 100644
index 0000000..18af9ed
--- /dev/null
+++ b/server/base/src/main/java/org/apache/accumulo/server/master/state/ClosableIterator.java
@@ -0,0 +1,23 @@
+/*
+ * 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.accumulo.server.master.state;
+
+import java.io.Closeable;
+import java.util.Iterator;
+
+public interface ClosableIterator<T> extends Iterator<T>, Closeable {
+}


Mime
View raw message