protected class STATE.StateOutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected long |
bytesWrittenCounter |
protected java.util.concurrent.atomic.AtomicBoolean |
closed |
protected Address |
stateRequester |
| Constructor and Description |
|---|
StateOutputStream(Address stateRequester) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected java.io.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) |
protected final Address stateRequester
protected final java.util.concurrent.atomic.AtomicBoolean closed
protected long bytesWrittenCounter
public StateOutputStream(Address stateRequester)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionprotected void sendMessage(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionprotected java.io.InterruptedIOException interrupted(int cnt)
Copyright © 1998-2020 Red Hat. All Rights Reserved.