- All Superinterfaces:
AutoCloseable
,OnCloseHandler
,Struct
,StructWrapper
,Wrapper
,Wrapper
- All Known Implementing Classes:
StructTrackerImpl
Tracks a
Struct
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.StructWrapper
getAttributes, getAttributes, getSQLTypeName, getWrapped
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 interfaceStructWrapper
- Throws:
SQLException
- See Also:
-