Package org.teiid.replication.jgroups
Class JGroupsInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.teiid.replication.jgroups.JGroupsInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class JGroupsInputStream extends InputStream
-
-
Constructor Summary
Constructors Constructor Description JGroupsInputStream(long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read()
void
receive(byte[] bytes)
-
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
-
-
-
-
Method Detail
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
-
receive
public void receive(byte[] bytes) throws InterruptedException
- Throws:
InterruptedException
-
-