Class CacheConfiguration

    • Constructor Detail

      • CacheConfiguration

        public CacheConfiguration()
        Default constructor.
      • CacheConfiguration

        public CacheConfiguration​(IgniteEx ignite,
                                  CacheConfiguration ccfg,
                                  IgniteUuid dynamicDeploymentId)
        Create data transfer object for cache configuration properties.
        Parameters:
        ignite - Grid.
        ccfg - Cache configuration.
        dynamicDeploymentId - Dynamic deployment ID.
    • Method Detail

      • getName

        @Nullable
        public @Nullable String getName()
        Returns:
        Cache name.
      • getGroupName

        @Nullable
        public @Nullable String getGroupName()
        Returns:
        Cache group name.
      • getMode

        public CacheMode getMode()
        Returns:
        Cache mode.
      • getAtomicityMode

        public CacheAtomicityMode getAtomicityMode()
        Returns:
        Cache atomicity mode.
      • eagerTtl

        public boolean eagerTtl()
        Returns:
        Eager ttl flag
      • isInvalidate

        public boolean isInvalidate()
        Returns:
        Invalidate.
      • getMaxConcurrentAsyncOperations

        public int getMaxConcurrentAsyncOperations()
        Returns:
        Max concurrent async operations
      • getInterceptor

        @Nullable
        public @Nullable String getInterceptor()
        Returns:
        Cache interceptor.
      • getDefaultLockTimeout

        public long getDefaultLockTimeout()
        Returns:
        Gets default lock acquisition timeout.
      • getJdbcTypes

        public List<CacheJdbcType> getJdbcTypes()
        Returns:
        Collection of type metadata.
      • isEagerTtl

        public boolean isEagerTtl()
        Returns:
        Eager ttl flag.
      • isStatisticsEnabled

        public boolean isStatisticsEnabled()
        Returns:
        true if cache statistics collection enabled.
      • isManagementEnabled

        public boolean isManagementEnabled()
        Returns:
        Whether management is enabled.
      • getLoaderFactory

        public String getLoaderFactory()
        Returns:
        Class name of cache loader factory.
      • getWriterFactory

        public String getWriterFactory()
        Returns:
        Class name of cache writer factory.
      • getExpiryPolicyFactory

        public String getExpiryPolicyFactory()
        Returns:
        Class name of expiry policy factory.
      • getQueryEntities

        public List<QueryEntity> getQueryEntities()
        Returns:
        Collection of query entities.
      • getQueryConfiguration

        public QueryConfiguration getQueryConfiguration()
        Returns:
        Collection of query entities.
      • isSystem

        public boolean isSystem()
        Returns:
        System cache flag.
      • isStoreKeepBinary

        public Boolean isStoreKeepBinary()
        Returns:
        Keep binary in store flag.
      • isOnheapCacheEnabled

        public boolean isOnheapCacheEnabled()
        Returns:
        On-heap cache enabled flag.
      • getPartitionLossPolicy

        public PartitionLossPolicy getPartitionLossPolicy()
        Returns:
        Partition loss policy.
      • getQueryParallelism

        public int getQueryParallelism()
        Returns:
        Query parallelism.
      • isCopyOnRead

        public boolean isCopyOnRead()
        Returns:
        Copy on read flag.
      • getEvictionFilter

        public String getEvictionFilter()
        Returns:
        Eviction filter or null.
      • getListenerConfigurations

        public String getListenerConfigurations()
        Returns:
        Listener configurations.
      • isLoadPreviousValue

        public boolean isLoadPreviousValue()
        Returns:
        Load previous value flag.
      • getSqlIndexMaxInlineSize

        public int getSqlIndexMaxInlineSize()
        Returns:
        Maximum payload size for offheap indexes.
      • getNodeFilter

        public String getNodeFilter()
        Returns:
        Predicate specifying on which nodes the cache should be started.
      • getQueryDetailMetricsSize

        public int getQueryDetailMetricsSize()
        Returns:
        Maximum number of query metrics that will be stored in memory.
      • isReadFromBackup

        public boolean isReadFromBackup()
        Returns:
        true if data can be read from backup node or false if data always should be read from primary node and never from backup.
      • getTransactionManagerLookupClassName

        @Deprecated
        public String getTransactionManagerLookupClassName()
        Deprecated.
        Returns:
        Transaction manager finder.
      • getTopologyValidator

        public String getTopologyValidator()
        Returns:
        Topology validator.
      • getDynamicDeploymentId

        public IgniteUuid getDynamicDeploymentId()
        Returns:
        Cache dynamic deployment ID.
      • getDiskPageCompression

        public DiskPageCompression getDiskPageCompression()
        Returns:
        Disk page compression algorithm.
      • getDiskPageCompressionLevel

        public Integer getDiskPageCompressionLevel()
        Returns:
        Algorithm specific disk page compression level.