public final class ConnectionClosingRepositoryResult<T>
extends org.openrdf.repository.RepositoryResult<T>
A {}@link RepositoryResult} which will close the RepositoryConnection which created it when it's closed.
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleClose() |
static <T> org.openrdf.repository.RepositoryResult<T> |
newResult(org.openrdf.repository.RepositoryConnection theConn,
org.openrdf.repository.RepositoryResult<T> theResult) |
public static <T> org.openrdf.repository.RepositoryResult<T> newResult(org.openrdf.repository.RepositoryConnection theConn,
org.openrdf.repository.RepositoryResult<T> theResult)
protected void handleClose()
throws org.openrdf.repository.RepositoryException
handleClose in class org.openrdf.repository.RepositoryResult<T>org.openrdf.repository.RepositoryExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.