public class GridIpcSharedMemoryOutputStream extends OutputStream
| Constructor and Description |
|---|
GridIpcSharedMemoryOutputStream(GridIpcSharedMemorySpace out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
forceClose()
Forcibly closes spaces and frees all system resources.
|
String |
toString() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flush, writepublic GridIpcSharedMemoryOutputStream(GridIpcSharedMemorySpace out)
out - Space.public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic 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.
Copyright © 2014. All rights reserved.