Interface SessionBytesStoreSupplier

  • All Superinterfaces:
    StoreSupplier<SessionStore<org.apache.kafka.common.utils.Bytes,​byte[]>>

    public interface SessionBytesStoreSupplier
    extends StoreSupplier<SessionStore<org.apache.kafka.common.utils.Bytes,​byte[]>>
    A store supplier that can be used to create one or more SessionStore instances of type <Byte, byte[]>. For any stores implementing the SessionStore interface, null value bytes are considered as "not exist". This means: 1. Null value bytes in put operations should be treated as delete. 2. Null value bytes should never be returned in range query results.
    • Method Detail

      • segmentIntervalMs

        long segmentIntervalMs()
        The size of a segment, in milliseconds. Used when caching is enabled to segment the cache and reduce the amount of data that needs to be scanned when performing range queries.
        Returns:
        segmentInterval in milliseconds