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) class
class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static StreamableSpooler
protected StreamableSpooler.StreamableSpoolerGC
protected File
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
copyStream
(InputStream is, OutputStream os) static void
copyStream
(InputStream is, OutputStream os, boolean close_src, boolean close_dest) static StreamableSpooler
instance()
void
spoolStreamTo
(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
-