Class StartCacheInfo


  • public class StartCacheInfo
    extends Object
    Specific cache information for start.
    • Constructor Detail

      • StartCacheInfo

        public StartCacheInfo​(DynamicCacheDescriptor desc,
                              NearCacheConfiguration reqNearCfg,
                              AffinityTopologyVersion exchTopVer,
                              boolean disabledAfterStart)
        Parameters:
        desc - Cache configuration for start.
        reqNearCfg - Near cache configuration for start.
        exchTopVer - Exchange topology version in which starting happened.
        disabledAfterStart - Disable started cache after start or not.
      • StartCacheInfo

        public StartCacheInfo​(CacheConfiguration conf,
                              DynamicCacheDescriptor desc,
                              NearCacheConfiguration reqNearCfg,
                              AffinityTopologyVersion exchTopVer,
                              boolean disabledAfterStart)
        Parameters:
        conf - Cache configuration for start.
        desc - Cache descriptor for start.
        reqNearCfg - Near cache configuration for start.
        exchTopVer - Exchange topology version in which starting happened.
        disabledAfterStart - Disable started cache after start or not.
      • StartCacheInfo

        public StartCacheInfo​(CacheConfiguration conf,
                              DynamicCacheDescriptor desc,
                              NearCacheConfiguration reqNearCfg,
                              AffinityTopologyVersion exchTopVer,
                              boolean disabledAfterStart,
                              boolean clientCache)
        Parameters:
        conf - Cache configuration for start.
        desc - Cache descriptor for start.
        reqNearCfg - Near cache configuration for start.
        exchTopVer - Exchange topology version in which starting happened.
        disabledAfterStart - Disable started cache after start or not.
        clientCache - true in case starting cache on client node.
    • Method Detail

      • getStartedConfiguration

        public CacheConfiguration getStartedConfiguration()
        Returns:
        Cache configuration for start.
      • getCacheDescriptor

        public DynamicCacheDescriptor getCacheDescriptor()
        Returns:
        Cache descriptor for start.
      • getReqNearCfg

        @Nullable
        public @Nullable NearCacheConfiguration getReqNearCfg()
        Returns:
        Near cache configuration for start.
      • getExchangeTopVer

        public AffinityTopologyVersion getExchangeTopVer()
        Returns:
        Exchange topology version in which starting happened.
      • isDisabledAfterStart

        public boolean isDisabledAfterStart()
        Returns:
        Disable started cache after start or not.
      • isClientCache

        public boolean isClientCache()
        Returns:
        Start cache on client or not.