Class RocksDbSessionBytesStoreSupplier

    • Constructor Detail

      • RocksDbSessionBytesStoreSupplier

        public RocksDbSessionBytesStoreSupplier​(String name,
                                                long retentionPeriod)
    • Method Detail

      • name

        public String name()
        Description copied from interface: StoreSupplier
        Return the name of this state store supplier. This must be a valid Kafka topic name; valid characters are ASCII alphanumerics, '.', '_' and '-'.
        Specified by:
        name in interface StoreSupplier<SessionStore<org.apache.kafka.common.utils.Bytes,​byte[]>>
        Returns:
        the name of this state store supplier
      • metricsScope

        public String metricsScope()
        Description copied from interface: StoreSupplier
        Return a String that is used as the scope for metrics recorded by Metered stores.
        Specified by:
        metricsScope in interface StoreSupplier<SessionStore<org.apache.kafka.common.utils.Bytes,​byte[]>>
        Returns:
        metricsScope
      • segmentIntervalMs

        public long segmentIntervalMs()
        Description copied from interface: SessionBytesStoreSupplier
        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.
        Specified by:
        segmentIntervalMs in interface SessionBytesStoreSupplier
        Returns:
        segmentInterval in milliseconds