|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XsDataStreamManager
The XsDataStreamManager is used to manage and create instances of XsDataInputStream
and XsDataOutputStream
objects. For the most part, data streams
created by the XsDataStreamManager are allocated by WebSphere eXtreme Scale runtime
components.
Method Summary | |
---|---|
XsDataInputStream |
createInputStream(byte[] bytes)
Create a new XsDataInputStream using the bytes specified as
the data backing. |
XsDataOutputStream |
createOutputStream()
Create a new XsDataOutputStream . |
Method Detail |
---|
XsDataInputStream createInputStream(byte[] bytes) throws IOException
XsDataInputStream
using the bytes specified as
the data backing. Do not change the data while the stream is using
the data. The manager will not copy the data.
bytes
- - The data used to back the XsDataInputStream.
IOException
- - an unexpected IO error creating the streamXsDataOutputStream createOutputStream() throws IOException
XsDataOutputStream
. The type of storage used for the
XsDataOutputStream data backing is unspecified.
Close the XsDataOutputStream when finished, thereby allowing any pooling
of underlying data buffers to be reclaimed by the system.
IOException
- - an unexpected IO error creating the stream
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |