- All Superinterfaces:
AutoCloseable,OnCloseHandler,SQLOutput,SQLOutputWrapper,Wrapper,Wrapper
- All Known Implementing Classes:
SQLOutputTrackerImpl
Tracks a
SQLOutput for unclosed or unfreed objects.- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Calls onClose handlers, closes all tracked objects, then callssuper.close().Methods inherited from interface com.aoapps.sql.tracker.OnCloseHandler
addOnCloseMethods inherited from interface com.aoapps.sql.wrapper.SQLOutputWrapper
getWrapped, writeArray, writeAsciiStream, writeBigDecimal, writeBinaryStream, writeBlob, writeBoolean, writeByte, writeBytes, writeCharacterStream, writeClob, writeDate, writeDouble, writeFloat, writeInt, writeLong, writeNClob, writeNString, writeObject, writeObject, writeRef, writeRowId, writeShort, writeSQLXML, writeString, writeStruct, writeTime, writeTimestamp, writeURLMethods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Method Details
-
close
Calls onClose handlers, closes all tracked objects, then callssuper.close().- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSQLOutputWrapper- Throws:
SQLException- See Also:
-
