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.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
protected void sendMessage(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
protected java.io.InterruptedIOException interrupted(int cnt)
Copyright © 1998-2020 Red Hat. All Rights Reserved.