
com.franz.util.Closeable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of agraph-java-client Show documentation
Show all versions of agraph-java-client Show documentation
Java client API for Franz AllegroGraph
/******************************************************************************
** Copyright (c) 2008-2016 Franz Inc.
** All rights reserved. This program and the accompanying materials
** are made available under the terms of the Eclipse Public License v1.0
** which accompanies this distribution, and is available at
** http://www.eclipse.org/legal/epl-v10.html
******************************************************************************/
package com.franz.util;
/**
* Similar to {@link java.io.Closeable}, but close throws Exception so
* it can be used with extentions of third-party classes
* (for example, Sesame and Jena) that define a close method
* without implementing {@link java.io.Closeable} and with a different
* checked exception.
*/
public interface Closeable {
/**
* Releases system resources associated with the object.
* @see java.io.Closeable#close()
*/
void close() throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy