-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-3572 allow concurrent reads and writes against the WeakObjectRegistry
Signed-off-by: Håvard Ottestad <hmottestad@gmail.com>
- Loading branch information
1 parent
afd8b18
commit f717f88
Showing
6 changed files
with
343 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
core/sail/memory/src/main/java/org/eclipse/rdf4j/sail/memory/model/CloseableIterator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2022 Eclipse RDF4J contributors. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Distribution License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
******************************************************************************/ | ||
|
||
package org.eclipse.rdf4j.sail.memory.model; | ||
|
||
import java.util.Iterator; | ||
|
||
public interface CloseableIterator<E> extends Iterator<E>, AutoCloseable { | ||
|
||
@Override | ||
void close(); | ||
} |
Oops, something went wrong.