@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; }