- 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 TypeMethodDescriptionvoid
close()
Calls onClose handlers, closes all tracked objects, then callssuper.close()
.Methods inherited from interface com.aoapps.sql.tracker.OnCloseHandler
addOnClose
Methods 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, writeURL
Methods 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSQLOutputWrapper
- Throws:
SQLException
- See Also:
-