Package org.infinispan.rest
Class CacheKeyInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.infinispan.rest.CacheKeyInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class CacheKeyInputStream extends InputStream
AnInputStream
that reads from aCacheStream
of byte[] and produces a JSON output.- Since:
- 10.0
-
-
Constructor Summary
Constructors Constructor Description CacheKeyInputStream(CacheStream<?> stream, int batchSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
available()
int
read()
-
-
-
Constructor Detail
-
CacheKeyInputStream
public CacheKeyInputStream(CacheStream<?> stream, int batchSize)
-
-