Package org.postgresql.util
Class TempFileHolder
java.lang.Object
org.postgresql.util.TempFileHolder
- All Implemented Interfaces:
LazyCleaner.CleaningAction<IOException>
The action deletes temporary file in case the user submits a large input stream,
and then abandons the statement.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOGGER
-
stream
-
tempFile
-
-
Constructor Details
-
TempFileHolder
TempFileHolder(Path tempFile)
-
-
Method Details
-
getStream
- Throws:
IOException
-
onClean
- Specified by:
onClean
in interfaceLazyCleaner.CleaningAction<IOException>
- Throws:
IOException
-