<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_37069064的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_37069064</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_37069064]]></copyright><item><title><![CDATA[springboot整合openfeign]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145168171</link><guid>https://blog.csdn.net/qq_37069064/article/details/145168171</guid><author>qq_37069064</author><pubDate>Wed, 15 Jan 2025 21:07:42 +0800</pubDate><description><![CDATA[在Spring Boot中整合OpenFeign可以帮助你轻松地实现服务之间的HTTP调用。OpenFeign是一个声明式的Web服务客户端，它使得编写Web服务客户端变得更加简单。以下是如何在Spring Boot项目中整合OpenFeign的步骤。]]></description><category></category></item><item><title><![CDATA[linux安装redis]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145097769</link><guid>https://blog.csdn.net/qq_37069064/article/details/145097769</guid><author>qq_37069064</author><pubDate>Sun, 12 Jan 2025 19:39:44 +0800</pubDate><description><![CDATA[常见的策略包括volatile-lru, allkeys-lru, volatile-random, allkeys-random, volatile-ttl和noeviction。Redis的配置文件（通常名为`redis.conf`）是管理Redis服务器行为的关键，它包含了大量的设置选项，可以调整以优化性能、安全性和其他特性。stop-writes-on-bgsave-error yes/no: 如果在后台保存过程中出现错误，是否停止写入操作。]]></description><category></category></item><item><title><![CDATA[springBoot整合mongdb]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145085677</link><guid>https://blog.csdn.net/qq_37069064/article/details/145085677</guid><author>qq_37069064</author><pubDate>Sun, 12 Jan 2025 03:03:35 +0800</pubDate><description><![CDATA[【代码】springBoot整合mongdb。]]></description><category></category></item><item><title><![CDATA[springboot整合rabbitmq（消息确认）]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145085362</link><guid>https://blog.csdn.net/qq_37069064/article/details/145085362</guid><author>qq_37069064</author><pubDate>Sun, 12 Jan 2025 02:13:52 +0800</pubDate><description><![CDATA[【代码】springboot整合rabbitmq（消息确认）]]></description><category></category></item><item><title><![CDATA[springboot整合rabbitmq]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145085036</link><guid>https://blog.csdn.net/qq_37069064/article/details/145085036</guid><author>qq_37069064</author><pubDate>Sun, 12 Jan 2025 02:12:27 +0800</pubDate><description><![CDATA[RabbitMQ 连接地址。5. 创建消息消费者。]]></description><category></category></item><item><title><![CDATA[springboot整合mysql]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145084361</link><guid>https://blog.csdn.net/qq_37069064/article/details/145084361</guid><author>qq_37069064</author><pubDate>Sat, 11 Jan 2025 23:32:51 +0800</pubDate><description><![CDATA[【代码】springboot整合mysql。]]></description><category></category></item><item><title><![CDATA[springboot整合h2]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145083410</link><guid>https://blog.csdn.net/qq_37069064/article/details/145083410</guid><author>qq_37069064</author><pubDate>Sat, 11 Jan 2025 22:11:38 +0800</pubDate><description><![CDATA[在 Spring Boot 中整合 H2 数据库非常简单。H2 是一个轻量级的嵌入式数据库，非常适合开发和测试环境。]]></description><category></category></item><item><title><![CDATA[springboot整合redis]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145082655</link><guid>https://blog.csdn.net/qq_37069064/article/details/145082655</guid><author>qq_37069064</author><pubDate>Sat, 11 Jan 2025 21:30:54 +0800</pubDate><description><![CDATA[我将展示如何在Spring Boot中整合Redis，包括基本配置和常用操作。]]></description><category></category></item><item><title><![CDATA[springboot整合拦截器]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145066860</link><guid>https://blog.csdn.net/qq_37069064/article/details/145066860</guid><author>qq_37069064</author><pubDate>Fri, 10 Jan 2025 22:40:36 +0800</pubDate><description><![CDATA[【代码】springboot整合拦截器。]]></description><category></category></item><item><title><![CDATA[springboot整合admin]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145066791</link><guid>https://blog.csdn.net/qq_37069064/article/details/145066791</guid><author>qq_37069064</author><pubDate>Fri, 10 Jan 2025 22:36:42 +0800</pubDate><description><![CDATA[如果你想要将你的应用注册为Spring Boot Admin的客户端，需要在。），你将看到注册的客户端应用及其监控信息。首先，在你的admin服务端。]]></description><category></category></item><item><title><![CDATA[springboot整合gateway]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145066711</link><guid>https://blog.csdn.net/qq_37069064/article/details/145066711</guid><author>qq_37069064</author><pubDate>Fri, 10 Jan 2025 22:31:12 +0800</pubDate><description><![CDATA[启动Spring Boot应用后，网关将会根据配置的路由规则将请求转发到相应的服务。你可以通过网关的地址访问后端服务。例如，如果网关运行在。文件中配置网关的路由规则。接口来创建自定义过滤器。如果你使用Eureka进行服务发现，可以在。文件中配置Eureka客户端。5. 自定义过滤器（可选），你可以通过以下URL访问。]]></description><category></category></item><item><title><![CDATA[java开发]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145015595</link><guid>https://blog.csdn.net/qq_37069064/article/details/145015595</guid><author>qq_37069064</author><pubDate>Wed, 08 Jan 2025 19:23:50 +0800</pubDate><description><![CDATA[List

List和set区别

ArrayList和HashMap区别

arrayList阔容机制

其他

Map

HashMap和HashTable区别

HashTable和ConCurrentHashMap区别

HashSet和treeSet区别


]]></description><category></category></item><item><title><![CDATA[HashSet和treeSet区别]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145015836</link><guid>https://blog.csdn.net/qq_37069064/article/details/145015836</guid><author>qq_37069064</author><pubDate>Wed, 08 Jan 2025 19:22:32 +0800</pubDate><description><![CDATA[底层实现：hashSet底层是哈希表（数组+链表（红黑树）），TreeSet底层是红黑树。有序性: hashSet是无序的，treeSet是有序的（即存储数据不会改变遍历的顺序）并发安全：HashSet和TreeSet都不是线程安全的。]]></description><category></category></item><item><title><![CDATA[HashTable和ConCurrentHashMap区别]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145015777</link><guid>https://blog.csdn.net/qq_37069064/article/details/145015777</guid><author>qq_37069064</author><pubDate>Wed, 08 Jan 2025 19:21:24 +0800</pubDate><description><![CDATA[初始化：数组初始化时不初始长度，第一次插入数据时新增数组长度16，如果插入数据大于阔容因子比率，则进行初始化阔容，后续不再使用阔容因子，默认3/4。jdk7的concurrentHashMap包含小数组，并发度，阔容因子，容量，底层是数组+segment。jdk8的concurrentHashMap包含小数组，阔容因子，容量，底层为数组+（链表）红黑树。阔容时机：容量不可以阔容，小数组可以阔容，当容量超过阔容因子时（3/4），触发阔容，初始化：数组初始化时默认长度为并发度16，容量就是并发度，]]></description><category></category></item><item><title><![CDATA[HashMap和HashTable区别问题]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145015689</link><guid>https://blog.csdn.net/qq_37069064/article/details/145015689</guid><author>qq_37069064</author><pubDate>Wed, 08 Jan 2025 19:16:37 +0800</pubDate><description><![CDATA[并发：hashMap线程不安全，hashTable线程安全，底层在put操作的方法上加了synchronized。hashTable初始容量为11，每次阔容为上次容量*2+1，阔容因子0.75，即当容量达到百分之75时触发阔容。初始化：hashTable初始容量为11，hashmap初始容量为16。阔容因子：阔容因子都是0.75。]]></description><category></category></item><item><title><![CDATA[List其他]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145015552</link><guid>https://blog.csdn.net/qq_37069064/article/details/145015552</guid><author>qq_37069064</author><pubDate>Wed, 08 Jan 2025 19:01:33 +0800</pubDate><description><![CDATA[答：ArrayList有最大容量，最大容量为Integer的最大值，超过这个值，JVM不会为数组分配内存空间的，LinkedList底层是双向链表，理论上是无限大的，但源码中，LinkedList使用的是int类型，这也说明LinkedList最大容量不能超过Integer的最大值，不然会溢出。ArrayList无参数构造器构造，add一个值进去，此时的数组大小是多少，下一次扩容前最大可用大小是多少？答：此时的数组大小是1，下一次最大可用大小是10，当add第一个值进去时，数组可用大小被扩容到10.]]></description><category></category></item><item><title><![CDATA[Arraylist扩容机制]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145015540</link><guid>https://blog.csdn.net/qq_37069064/article/details/145015540</guid><author>qq_37069064</author><pubDate>Wed, 08 Jan 2025 19:00:36 +0800</pubDate><description><![CDATA[扩容大小为int newCapacity = oldCapacity +(oldCapacity >> 1)，即1.5倍。1.8jdk创建构造方法时不设置数组初始大小，当添加第一值时才会设置默认值10，当长度不够时会再次阔容，]]></description><category></category></item><item><title><![CDATA[ArrayList和HashMap区别]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145015520</link><guid>https://blog.csdn.net/qq_37069064/article/details/145015520</guid><author>qq_37069064</author><pubDate>Wed, 08 Jan 2025 18:59:36 +0800</pubDate><description><![CDATA[2.**元素类型**：存储键值对，其中键是唯一的（不能有重复键），但值可以重复。键和值都可以是任何引用类型，包括`null`（不过每个`HashMap`中只能有一个`null`键）。4.**顺序性**：标准的`HashMap`不保证任何特定的迭代顺序；3.**访问方式**：通过键来存取对应的值，查找、插入和删除操作的时间复杂度接近 O(1)，这取决于哈希函数的质量和负载因子。5.**线程安全**：不是线程安全的；2.**元素类型**：存储单一类型的对象（通过泛型指定），允许重复元素。]]></description><category></category></item><item><title><![CDATA[ArrayList和Vector区别]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145015501</link><guid>https://blog.csdn.net/qq_37069064/article/details/145015501</guid><author>qq_37069064</author><pubDate>Wed, 08 Jan 2025 18:57:57 +0800</pubDate><description><![CDATA[1.**线程安全性**：`Vector`是线程安全的，它的方法默认都是同步的，这意味着多个线程可以安全地同时访问一个`Vector`实例而不会导致数据不一致的问题。-**迭代器**：`Vector`的迭代器实现是同步的，而`ArrayList`的迭代器不是同步的，因此在遍历`Vector`时可以保证线程安全。2.**性能**：因为`Vector`的方法被同步了，所以在单线程或者低并发的情况下，它会比`ArrayList`慢。1.**线程安全性**：`ArrayList`不是线程安全的。]]></description><category></category></item><item><title><![CDATA[List和set区别]]></title><link>https://blog.csdn.net/qq_37069064/article/details/145015400</link><guid>https://blog.csdn.net/qq_37069064/article/details/145015400</guid><author>qq_37069064</author><pubDate>Wed, 08 Jan 2025 18:51:44 +0800</pubDate><description><![CDATA[对于查找操作，Set的性能通常优于 List，特别是在大数据集的情况下，因为 HashSet和 TreeSet提供了更高效的查找算法（哈希表或红黑树）。不保证顺序：Set并不保证元素的保存顺序，虽然某些实现（如 LinkedHashSet）可以维护插入顺序，而 TreeSet则会对元素进行排序。List和 Set是 Java集合框架中的两种不同类型的集合接口，它们有着不同的特性，适用于不同的使用场景。保持插入顺序：List维护元素的插入顺序，这意味着当你遍历列表时，元素将按照它们被添加到列表中的顺序出现。]]></description><category></category></item></channel></rss>