protected class STATE.StateOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected long |
bytesWrittenCounter |
protected AtomicBoolean |
closed |
protected Address |
stateRequester |
| Constructor and Description |
|---|
StateOutputStream(Address stateRequester) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected InterruptedIOException |
interrupted(int cnt) |
protected void |
sendMessage(byte[] b,
int off,
int len) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushprotected final Address stateRequester
protected final AtomicBoolean closed
protected long bytesWrittenCounter
public StateOutputStream(Address stateRequester)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionprotected void sendMessage(byte[] b,
int off,
int len)
throws IOException
IOExceptionprotected InterruptedIOException interrupted(int cnt)
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.