Package org.jgroups.protocols.pbcast
Class STATE.StateOutputStream
java.lang.Object
java.io.OutputStream
org.jgroups.protocols.pbcast.STATE.StateOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
STATE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected final AtomicBooleanprotected final Address -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected InterruptedIOExceptioninterrupted(int cnt) protected voidsendMessage(byte[] b, int off, int len) voidwrite(byte[] b) voidwrite(byte[] b, int off, int len) voidwrite(int b) Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
Field Details
-
stateRequester
-
closed
-
bytesWrittenCounter
protected long bytesWrittenCounter
-
-
Constructor Details
-
StateOutputStream
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
sendMessage
- Throws:
IOException
-
interrupted
-