Class StreamableSpooler
java.lang.Object
org.datanucleus.store.rdbms.mapping.column.StreamableSpooler
Spooler for files being streamed from the datastore.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classclass -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static StreamableSpoolerprotected StreamableSpooler.StreamableSpoolerGCprotected File -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyStream(InputStream is, OutputStream os) static voidcopyStream(InputStream is, OutputStream os, boolean close_src, boolean close_dest) static StreamableSpoolerinstance()voidspoolStreamTo(InputStream is, File target)
-
Field Details
-
_instance
-
gcInstance
-
spoolDirectory
-
-
Constructor Details
-
StreamableSpooler
private StreamableSpooler()
-
-
Method Details
-
instance
-
spoolStreamTo
- Throws:
IOException
-
spoolStream
- Throws:
IOException
-
getGCInstance
-
copyStream
- Throws:
IOException
-
copyStream
public static void copyStream(InputStream is, OutputStream os, boolean close_src, boolean close_dest) throws IOException - Throws:
IOException
-