Class CacheStoreConfiguration

    • Constructor Detail

      • CacheStoreConfiguration

        public CacheStoreConfiguration()
        Default constructor.
      • CacheStoreConfiguration

        public CacheStoreConfiguration​(IgniteEx ignite,
                                       CacheConfiguration ccfg)
        Create data transfer object for cache store configuration properties.
        Parameters:
        ignite - Ignite instance.
        ccfg - Cache configuration.
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Returns:
        true if cache has store.
      • isJdbcStore

        public boolean isJdbcStore()
        Returns:
        true if cache has JDBC store.
      • getStore

        @Nullable
        public @Nullable String getStore()
        Returns:
        Cache store class name.
      • getStoreFactory

        public String getStoreFactory()
        Returns:
        Cache store factory class name..
      • isReadThrough

        public boolean isReadThrough()
        Returns:
        Whether cache should operate in read-through mode.
      • isWriteThrough

        public boolean isWriteThrough()
        Returns:
        Whether cache should operate in write-through mode.
      • isWriteBehindEnabled

        public boolean isWriteBehindEnabled()
        Returns:
        Flag indicating whether write-behind behaviour should be used for the cache store.
      • getBatchSize

        public int getBatchSize()
        Returns:
        Maximum batch size for write-behind cache store operations.
      • getFlushFrequency

        public long getFlushFrequency()
        Returns:
        Frequency with which write-behind cache is flushed to the cache store in milliseconds.
      • getFlushSize

        public int getFlushSize()
        Returns:
        Maximum object count in write-behind cache.
      • getFlushThreadCount

        public int getFlushThreadCount()
        Returns:
        Number of threads that will perform cache flushing.
      • isStoreKeepBinary

        public boolean isStoreKeepBinary()
        Returns:
        Keep binary in store flag.
      • getWriteBehindCoalescing

        public boolean getWriteBehindCoalescing()
        Returns:
        Write coalescing flag.