Skip to content

Commit

Permalink
udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
ggox committed Nov 13, 2021
1 parent 795ce2a commit 17b2909
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 3 deletions.
38 changes: 35 additions & 3 deletions spring编程思想.md
Original file line number Diff line number Diff line change
Expand Up @@ -929,8 +929,40 @@

1. <aop:aspect/>、<aop:pointcut/>、<aop:advisor/>等等




### 四、Spring Aop在框架内部的应用

1. Spring事件中的应用(events)
* 核心APIorg.springframework.context.event.EventPublicationInterceptor
2. Spring事务中的应用(transaction)
* 核心API
1. @Enable驱动:@EnableTransactionManagement
2. 事务注解:@Transactional
3. 事务事件监听器:org.springframework.transaction.event.TransactionalEventListener
4. 事务定义:org.springframework.transaction.TransactionDefinition
5. 事务状态:org.springframework.transaction.TransactionStatus
6. 平台事务管理器:org.springframework.transaction.PlatformTransactionManager
7. 事务代理配置:org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
8. 事务PointcutAdvisor实现:org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor
9. 事务MethodInterceptor实现:org.springframework.transaction.interceptor.TransactionInterceptor
10. 事务属性源:org.springframework.transaction.interceptor.TransactionAttributeSource
3. Spring缓存中的应用(caching)
* 核心API
1. @Enable驱动:@EnableCaching
2. 缓存操作注解:@Caching @Cacheable @CachePut @CacheEvict
3. 缓存注解操作数据源:org.springframework.cache.annotation.AnnotationCacheOperationSource
4. 缓存注解解析器:org.springframework.cache.annotation.SpringCacheAnnotationParser
5. 缓存管理器:org.springframework.cache.CacheManager
6. 缓存接口:org.springframework.cache.Cache
7. 缓存代理配置:org.springframework.cache.annotation.ProxyCachingConfiguration
8. 缓存PointcutAdvisor实现:org.springframework.cache.interceptor.BeanFactoryCacheOperationSourceAdvisor
9. 缓存MethodInterceptor实现:org.springframework.cache.interceptor.CacheInterceptor
4. Spring异步调度中的应用(scheduling)
* 核心API
1. @Enable驱动:@EnableAsync
2. 异步注解:@Async
3. 异步配置器:org.springframework.scheduling.annotation.AsyncConfigurer
4. 异步代理配置:org.springframework.scheduling.annotation.ProxyAsyncConfiguration
5. 异步PointcutAdvisor实现:org.springframework.scheduling.annotation.AsyncAnnotationAdvisor
6. 异步MethodInterceptor实现:org.springframework.scheduling.annotation.AnnotationAsyncExecutionInterceptor


45 changes: 45 additions & 0 deletions 《现代操作系统》学习笔记.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,54 @@
##### 三、文件系统

1. 文件

* 文件类型

* 文件访问:顺序访问和随机访问,unix采用seek操作实现随机访问

* 文件属性(元数据)

* 文件操作

![image-20210420173602526](https://tva1.sinaimg.cn/large/008eGmZEgy1gpqcfvjbhmj317s0u01ky.jpg)

2. 目录

* 路径名:绝对路径和相对路径
* 目录操作

3. 文件系统实现

* 文件系统布局

![image-20210422104232718](https://tva1.sinaimg.cn/large/008i3skNgy1gpsbqappmgj31ds0mwqjk.jpg)

* 文件的实现

* 连续分配
* 链表分配
* 采用内存中的表进行链表分配(FAT,文件分配表)
* Inode(index-node):只有文件打开时,inode才被加载到内存中

* 目录的实现

* 共享文件

* 链接(link):分为硬链接和符号链接(软链接)
* 有向无环图(DAG)

* 日志结构文件系统

* 日志文件系统:NTFS文件系统、ext3等

* 虚拟文件系统

![image-20210422144509368](https://tva1.sinaimg.cn/large/008i3skNgy1gpsiqpk39xj30vy0h2k0g.jpg)

![image-20210422145711486](https://tva1.sinaimg.cn/large/008i3skNgy1gpsj38g14yj314u0u01f7.jpg)

4. 文件系统管理和优化

5. 文件系统实例


Expand Down

0 comments on commit 17b2909

Please sign in to comment.