Class KVStoreStub


  • public class KVStoreStub
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      KVStoreStub​(java.time.Duration ttl, org.apache.kafka.common.utils.Time time)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.kafka.streams.state.KeyValueIterator<org.apache.kafka.common.utils.Bytes,​byte[]> all()  
      long count()  
      void delete​(org.apache.kafka.common.utils.Bytes key)  
      byte[] get​(org.apache.kafka.common.utils.Bytes key)  
      void put​(org.apache.kafka.common.utils.Bytes key, byte[] value)  
      org.apache.kafka.streams.state.KeyValueIterator<org.apache.kafka.common.utils.Bytes,​byte[]> range​(org.apache.kafka.common.utils.Bytes from, org.apache.kafka.common.utils.Bytes to)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KVStoreStub

        public KVStoreStub​(java.time.Duration ttl,
                           org.apache.kafka.common.utils.Time time)
    • Method Detail

      • count

        public long count()
      • put

        public void put​(org.apache.kafka.common.utils.Bytes key,
                        byte[] value)
      • delete

        public void delete​(org.apache.kafka.common.utils.Bytes key)
      • get

        public byte[] get​(org.apache.kafka.common.utils.Bytes key)
      • range

        public org.apache.kafka.streams.state.KeyValueIterator<org.apache.kafka.common.utils.Bytes,​byte[]> range​(org.apache.kafka.common.utils.Bytes from,
                                                                                                                       org.apache.kafka.common.utils.Bytes to)
      • all

        public org.apache.kafka.streams.state.KeyValueIterator<org.apache.kafka.common.utils.Bytes,​byte[]> all()