com.sibvisions.util
Interface ICloseable

All Known Subinterfaces:
ICloseableSession
All Known Implementing Classes:
AbstractCachedStorage, AbstractConnection, AbstractMemStorage, AbstractOracleDBAccess, AbstractStorage, DB2DBAccess, DBAccess, DBStorage, DerbyDBAccess, DirectServerSession, H2DBAccess, HanaDBAccess, HSQLDBAccess, MasterConnection, MemDataBookStorage, MSSQLDBAccess, MySQLDBAccess, OracleDBAccess, PostgreSQLDBAccess, Record, SQLiteDBAccess, SubConnection, TiberoDBAccess

public interface ICloseable

A ICloseable is a source or destination of data that can be closed. The close method is invoked to release resources that the object is holding (such as open files).


Method Summary
 void close()
          Closes the object (stream, connection, ...) and releases any system resources associated with it.
 

Method Detail

close

void close()
           throws java.lang.Throwable
Closes the object (stream, connection, ...) and releases any system resources associated with it. If the object is already closed, then invoking this method has no effect.

Throws:
java.lang.Throwable - if an error occurs


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.