@Override @SuppressWarnings({"checkstyle:cyclomaticcomplexity", "checkstyle:npathcomplexity"}) public final int hashCode() { int result = name.hashCode(); result = 31 * result + (keyType != null ? keyType.hashCode() : 0); result = 31 * result + (valueType != null ? valueType.hashCode() : 0); result = 31 * result + (statisticsEnabled ? 1 : 0); result = 31 * result + (managementEnabled ? 1 : 0); result = 31 * result + (readThrough ? 1 : 0); result = 31 * result + (writeThrough ? 1 : 0); result = 31 * result + (cacheLoaderFactory != null ? cacheLoaderFactory.hashCode() : 0); result = 31 * result + (cacheWriterFactory != null ? cacheWriterFactory.hashCode() : 0); result = 31 * result + (cacheLoader != null ? cacheLoader.hashCode() : 0); result = 31 * result + (cacheWriter != null ? cacheWriter.hashCode() : 0); result = 31 * result + (expiryPolicyFactoryConfig != null ? expiryPolicyFactoryConfig.hashCode() : 0); result = 31 * result + (cacheEntryListeners != null ? cacheEntryListeners.hashCode() : 0); result = 31 * result + asyncBackupCount; result = 31 * result + backupCount; result = 31 * result + (inMemoryFormat != null ? inMemoryFormat.hashCode() : 0); result = 31 * result + (evictionConfig != null ? evictionConfig.hashCode() : 0); result = 31 * result + (wanReplicationRef != null ? wanReplicationRef.hashCode() : 0); result = 31 * result + (quorumName != null ? quorumName.hashCode() : 0); result = 31 * result + (partitionLostListenerConfigs != null ? partitionLostListenerConfigs.hashCode() : 0); result = 31 * result + (mergePolicy != null ? mergePolicy.hashCode() : 0); result = 31 * result + (hotRestartConfig != null ? hotRestartConfig.hashCode() : 0); result = 31 * result + (disablePerEntryInvalidationEvents ? 1 : 0); return result; }
@Override @SuppressWarnings({"checkstyle:cyclomaticcomplexity", "checkstyle:npathcomplexity"}) public final int hashCode() { int result = name.hashCode(); result = 31 * result + (keyType != null ? keyType.hashCode() : 0); result = 31 * result + (valueType != null ? valueType.hashCode() : 0); result = 31 * result + (statisticsEnabled ? 1 : 0); result = 31 * result + (managementEnabled ? 1 : 0); result = 31 * result + (readThrough ? 1 : 0); result = 31 * result + (writeThrough ? 1 : 0); result = 31 * result + (cacheLoaderFactory != null ? cacheLoaderFactory.hashCode() : 0); result = 31 * result + (cacheWriterFactory != null ? cacheWriterFactory.hashCode() : 0); result = 31 * result + (cacheLoader != null ? cacheLoader.hashCode() : 0); result = 31 * result + (cacheWriter != null ? cacheWriter.hashCode() : 0); result = 31 * result + (expiryPolicyFactoryConfig != null ? expiryPolicyFactoryConfig.hashCode() : 0); result = 31 * result + (cacheEntryListeners != null ? cacheEntryListeners.hashCode() : 0); result = 31 * result + asyncBackupCount; result = 31 * result + backupCount; result = 31 * result + (inMemoryFormat != null ? inMemoryFormat.hashCode() : 0); result = 31 * result + (evictionConfig != null ? evictionConfig.hashCode() : 0); result = 31 * result + (wanReplicationRef != null ? wanReplicationRef.hashCode() : 0); result = 31 * result + (quorumName != null ? quorumName.hashCode() : 0); result = 31 * result + (partitionLostListenerConfigs != null ? partitionLostListenerConfigs.hashCode() : 0); result = 31 * result + (mergePolicy != null ? mergePolicy.hashCode() : 0); result = 31 * result + (hotRestartConfig != null ? hotRestartConfig.hashCode() : 0); result = 31 * result + (disablePerEntryInvalidationEvents ? 1 : 0); return result; }
@Override public final int hashCode() { int result = (name != null ? name.hashCode() : 0); result = 31 * result + backupCount; result = 31 * result + asyncBackupCount; result = 31 * result + timeToLiveSeconds; result = 31 * result + maxIdleSeconds; result = 31 * result + (maxSizeConfig != null ? maxSizeConfig.hashCode() : 0); result = 31 * result + (evictionPolicy != null ? evictionPolicy.hashCode() : 0); result = 31 * result + (mapEvictionPolicy != null ? mapEvictionPolicy.hashCode() : 0); result = 31 * result + (mapStoreConfig != null ? mapStoreConfig.hashCode() : 0); result = 31 * result + (nearCacheConfig != null ? nearCacheConfig.hashCode() : 0); result = 31 * result + (readBackupData ? 1 : 0); result = 31 * result + cacheDeserializedValues.hashCode(); result = 31 * result + (mergePolicyConfig != null ? mergePolicyConfig.hashCode() : 0); result = 31 * result + inMemoryFormat.hashCode(); result = 31 * result + (wanReplicationRef != null ? wanReplicationRef.hashCode() : 0); result = 31 * result + getEntryListenerConfigs().hashCode(); result = 31 * result + getMapIndexConfigs().hashCode(); result = 31 * result + getMapAttributeConfigs().hashCode(); result = 31 * result + getQueryCacheConfigs().hashCode(); result = 31 * result + getPartitionLostListenerConfigs().hashCode(); result = 31 * result + (statisticsEnabled ? 1 : 0); result = 31 * result + (partitioningStrategyConfig != null ? partitioningStrategyConfig.hashCode() : 0); result = 31 * result + (quorumName != null ? quorumName.hashCode() : 0); result = 31 * result + (hotRestartConfig != null ? hotRestartConfig.hashCode() : 0); return result; }
@Override public final int hashCode() { int result = (name != null ? name.hashCode() : 0); result = 31 * result + backupCount; result = 31 * result + asyncBackupCount; result = 31 * result + timeToLiveSeconds; result = 31 * result + maxIdleSeconds; result = 31 * result + (maxSizeConfig != null ? maxSizeConfig.hashCode() : 0); result = 31 * result + (evictionPolicy != null ? evictionPolicy.hashCode() : 0); result = 31 * result + (mapEvictionPolicy != null ? mapEvictionPolicy.hashCode() : 0); result = 31 * result + (mapStoreConfig != null ? mapStoreConfig.hashCode() : 0); result = 31 * result + (nearCacheConfig != null ? nearCacheConfig.hashCode() : 0); result = 31 * result + (readBackupData ? 1 : 0); result = 31 * result + cacheDeserializedValues.hashCode(); result = 31 * result + (mergePolicyConfig != null ? mergePolicyConfig.hashCode() : 0); result = 31 * result + inMemoryFormat.hashCode(); result = 31 * result + preprocessingPolicy.hashCode(); result = 31 * result + (wanReplicationRef != null ? wanReplicationRef.hashCode() : 0); result = 31 * result + getEntryListenerConfigs().hashCode(); result = 31 * result + getMapIndexConfigs().hashCode(); result = 31 * result + getMapAttributeConfigs().hashCode(); result = 31 * result + getQueryCacheConfigs().hashCode(); result = 31 * result + getPartitionLostListenerConfigs().hashCode(); result = 31 * result + (statisticsEnabled ? 1 : 0); result = 31 * result + (partitioningStrategyConfig != null ? partitioningStrategyConfig.hashCode() : 0); result = 31 * result + (quorumName != null ? quorumName.hashCode() : 0); result = 31 * result + (hotRestartConfig != null ? hotRestartConfig.hashCode() : 0); return result; }