Class GetInputStream
java.lang.Object
java.io.InputStream
org.infinispan.client.hotrod.impl.protocol.AbstractVersionedInputStream
org.infinispan.client.hotrod.impl.protocol.GetInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable,Metadata,Versioned,VersionedMetadata
-
Field Summary
Fields inherited from class org.infinispan.client.hotrod.impl.protocol.AbstractVersionedInputStream
versionedMetadata -
Constructor Summary
ConstructorsConstructorDescriptionGetInputStream(Supplier<CompletionStage<GetStreamNextResponse>> valueSupplier, VersionedMetadata versionedMetadata, io.netty.buffer.ByteBuf initial, boolean complete, Runnable onClose) -
Method Summary
Methods inherited from class org.infinispan.client.hotrod.impl.protocol.AbstractVersionedInputStream
getCreated, getLastUsed, getLifespan, getMaxIdle, getVersionMethods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
GetInputStream
public GetInputStream(Supplier<CompletionStage<GetStreamNextResponse>> valueSupplier, VersionedMetadata versionedMetadata, io.netty.buffer.ByteBuf initial, boolean complete, Runnable onClose)
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-