Class CacheKeyInputStream

java.lang.Object
java.io.InputStream
org.infinispan.rest.CacheKeyInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class CacheKeyInputStream extends InputStream
An InputStream that reads from a CacheStream of byte[] and produces a JSON output.
Since:
10.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    CacheKeyInputStream(CacheStream<?> stream, int batchSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
  • Constructor Details

    • CacheKeyInputStream

      public CacheKeyInputStream(CacheStream<?> stream, int batchSize)
  • Method Details

    • available

      public int available()
    • read

      public int read()