public class IpcSharedMemoryInputStream extends InputStream
Constructor and Description |
---|
IpcSharedMemoryInputStream(IpcSharedMemorySpace in) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
forceClose()
Forcibly closes spaces and frees all system resources.
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
String |
toString() |
mark, markSupported, read, reset, skip
public IpcSharedMemoryInputStream(IpcSharedMemorySpace in)
in
- Space.public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void forceClose()
This method should be called with caution as it may result to the other-party process crash. It is intended to call when there was an IO error during handshake and other party has not yet attached to the space.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017