Interface KxDatabaseCacheConfiguration.Builder

    • Method Detail

      • cacheType

        KxDatabaseCacheConfiguration.Builder cacheType​(String cacheType)

        The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are:

        • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

        Parameters:
        cacheType - The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are:

        • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dbPaths

        KxDatabaseCacheConfiguration.Builder dbPaths​(Collection<String> dbPaths)

        Specifies the portions of database that will be loaded into the cache for access.

        Parameters:
        dbPaths - Specifies the portions of database that will be loaded into the cache for access.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dbPaths

        KxDatabaseCacheConfiguration.Builder dbPaths​(String... dbPaths)

        Specifies the portions of database that will be loaded into the cache for access.

        Parameters:
        dbPaths - Specifies the portions of database that will be loaded into the cache for access.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataviewName

        KxDatabaseCacheConfiguration.Builder dataviewName​(String dataviewName)

        The name of the dataview to be used for caching historical data on disk.

        Parameters:
        dataviewName - The name of the dataview to be used for caching historical data on disk.
        Returns:
        Returns a reference to this object so that method calls can be chained together.