跳过导航链接
A B C D E G I K L M N P R S T V W 

A

addCache(SpringCache) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCacheManager
 
addCache(SpringCache) - 类 中的方法top.chukongxiang.spring.cache.manager.ExpiresCacheManager
 
addCache(SpringCache) - 类 中的方法top.chukongxiang.spring.cache.manager.MybatisCacheManager
 
addCache(SpringCache) - 类 中的方法top.chukongxiang.spring.cache.manager.RedisCacheManager
在添加Cache时写入redis缓存
around(ProceedingJoinPoint) - 类 中的方法top.chukongxiang.spring.cache.aop.SpringCacheAop
 
around(ProceedingJoinPoint) - 类 中的方法top.chukongxiang.spring.cache.aop.SpringCacheClearAop
 
around(ProceedingJoinPoint, CacheClears) - 类 中的方法top.chukongxiang.spring.cache.aop.SpringCacheClearsAop
 

B

beanFactory - 类 中的变量top.chukongxiang.spring.cache.core.SpringCacheAutoConfiguration
 
ByteUtil - top.chukongxiang.spring.cache.tool中的类
 
ByteUtil() - 类 的构造器top.chukongxiang.spring.cache.tool.ByteUtil
 

C

Cache - top.chukongxiang.spring.cache.annotation中的注释类型
 
CACHE_CACHE_MAP - 类 中的静态变量top.chukongxiang.spring.cache.manager.MybatisCacheManager
 
CACHE_CACHE_MAP - 类 中的静态变量top.chukongxiang.spring.cache.manager.RedisCacheManager
 
CacheClear - top.chukongxiang.spring.cache.annotation中的注释类型
清空缓存注解
CacheClears - top.chukongxiang.spring.cache.annotation中的注释类型
一次清空多个缓存注解
cacheName - 类 中的变量top.chukongxiang.spring.cache.model.value.MybatisCacheEntity
 
caches - 类 中的变量top.chukongxiang.spring.cache.manager.ExpiresCacheManager
以一个Map来作为缓存容器
clear() - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCache
清空缓存的所有内容
clear(String) - 类 中的方法top.chukongxiang.spring.cache.core.SpringCacheTemplate
 
clear() - 类 中的方法top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
 
clear() - 类 中的方法top.chukongxiang.spring.cache.model.MybatisCache
 
clear() - 类 中的方法top.chukongxiang.spring.cache.model.RedisCache
 
clearCache(String[], Object) - 类 中的方法top.chukongxiang.spring.cache.aop.SpringCacheClearAop
 
convertCacheNames(Class<?>, Method, String, String[]) - 类 中的静态方法top.chukongxiang.spring.cache.aop.SpringCacheAop
 
createTime - 类 中的变量top.chukongxiang.spring.cache.model.value.ExpiresValue
该值创建的时间

D

datacenterId - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
数据中心ID(0~31)
datacenterIdBits - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
数据标识id所占的位数
datacenterIdShift - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
数据标识id向左移17位(12+5)
DefaultSpringKeyGenerator - top.chukongxiang.spring.cache.generator中的类
默认的key生成器 生成结果:各个参数取值后hashCode
DefaultSpringKeyGenerator() - 类 的构造器top.chukongxiang.spring.cache.generator.DefaultSpringKeyGenerator
 

E

EnableSpringCache - top.chukongxiang.spring.cache.annotation中的注释类型
 
evict(Object) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCache
移除一个缓存
evict(Object) - 类 中的方法top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
 
evict(Object) - 类 中的方法top.chukongxiang.spring.cache.model.MybatisCache
 
evict(Object) - 类 中的方法top.chukongxiang.spring.cache.model.RedisCache
 
execClear(List<CacheClear>, JoinPoint) - 类 中的方法top.chukongxiang.spring.cache.aop.SpringCacheClearsAop
 
ExpiresCacheManager - top.chukongxiang.spring.cache.manager中的类
默认的缓存管理器
ExpiresCacheManager() - 类 的构造器top.chukongxiang.spring.cache.manager.ExpiresCacheManager
 
ExpiresConcurrentMapCache - top.chukongxiang.spring.cache.model中的类
缓存对象
ExpiresConcurrentMapCache() - 类 的构造器top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
 
ExpiresValue<V> - top.chukongxiang.spring.cache.model.value中的类
可过期的缓存值
ExpiresValue() - 类 的构造器top.chukongxiang.spring.cache.model.value.ExpiresValue
 

G

generate(Object, Method, Object...) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringKeyGenerator
自动生成key
generate(Object, Method, Object...) - 类 中的方法top.chukongxiang.spring.cache.generator.DefaultSpringKeyGenerator
各个参数取值后hashCode
get(Object) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCache
根据Key获取缓存的值
get(String, String) - 类 中的方法top.chukongxiang.spring.cache.core.SpringCacheTemplate
 
get(String, String, Class<T>) - 类 中的方法top.chukongxiang.spring.cache.core.SpringCacheTemplate
 
get(Object) - 类 中的方法top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
get时判断是否过期
get(Object) - 类 中的方法top.chukongxiang.spring.cache.model.MybatisCache
 
get(Object) - 类 中的方法top.chukongxiang.spring.cache.model.RedisCache
 
getCache(String) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCacheManager
 
getCache(String) - 类 中的方法top.chukongxiang.spring.cache.manager.ExpiresCacheManager
 
getCache(String) - 类 中的方法top.chukongxiang.spring.cache.manager.MybatisCacheManager
 
getCache(String) - 类 中的方法top.chukongxiang.spring.cache.manager.RedisCacheManager
 
getMissingCache(String) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCacheManager
 
getMissingCache(String) - 类 中的方法top.chukongxiang.spring.cache.manager.ExpiresCacheManager
 
getMissingCache(String) - 类 中的方法top.chukongxiang.spring.cache.manager.MybatisCacheManager
 
getMissingCache(String) - 类 中的方法top.chukongxiang.spring.cache.manager.RedisCacheManager
 
getName() - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCache
返回cacheName
getName() - 类 中的方法top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
 
getName() - 类 中的方法top.chukongxiang.spring.cache.model.MybatisCache
 
getNativeCache() - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCache
返回实例化后的cache对象
getNativeCache() - 类 中的方法top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
 
getNativeCache() - 类 中的方法top.chukongxiang.spring.cache.model.MybatisCache
 
getNativeCache() - 类 中的方法top.chukongxiang.spring.cache.model.RedisCache
 
getNativeValue(Object) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCache
 
getNativeValue(Object) - 类 中的方法top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
 
getNativeValue(Object) - 类 中的方法top.chukongxiang.spring.cache.model.MybatisCache
 
getNativeValue(Object) - 类 中的方法top.chukongxiang.spring.cache.model.RedisCache
 
getString(String, String) - 类 中的方法top.chukongxiang.spring.cache.core.SpringCacheTemplate
 

I

id - 类 中的变量top.chukongxiang.spring.cache.model.value.MybatisCacheEntity
 
idWorker - 类 中的变量top.chukongxiang.spring.cache.model.MybatisCache
 
insert(String, Long, String, byte[], byte[], long, long) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 
insertBatch(String, List<? extends MybatisCacheEntity>) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 
insertEntity(String, MybatisCacheEntity) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 

K

key - 类 中的变量top.chukongxiang.spring.cache.model.value.MybatisCacheEntity
 
KEY_GENERATOR_MAP - 类 中的静态变量top.chukongxiang.spring.cache.aop.SpringCacheAop
缓存KeyGenerator,提高效率,不需要每次newInstance

L

lastTimestamp - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
上次生成ID的时间截
lifeTime - 类 中的变量top.chukongxiang.spring.cache.model.value.ExpiresValue
该值的生存时间
lifeTime - 类 中的变量top.chukongxiang.spring.cache.model.value.MybatisCacheEntity
 

M

main(String[]) - 类 中的静态方法top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
测试
mapper - 类 中的变量top.chukongxiang.spring.cache.manager.MybatisCacheManager
 
mapper - 类 中的变量top.chukongxiang.spring.cache.model.MybatisCache
 
maxDatacenterId - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
支持的最大数据标识id,结果是31
maxWorkerId - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
支持的最大机器id,结果是31 (这个移位算法可以很快的计算出几位二进制数所能表示的最大十进制数)
MybatisCache - top.chukongxiang.spring.cache.model中的类
 
MybatisCache(String, MybatisCacheMapper, String) - 类 的构造器top.chukongxiang.spring.cache.model.MybatisCache
 
MybatisCacheEntity - top.chukongxiang.spring.cache.model.value中的类
 
MybatisCacheEntity() - 类 的构造器top.chukongxiang.spring.cache.model.value.MybatisCacheEntity
 
MybatisCacheManager - top.chukongxiang.spring.cache.manager中的类
MyBatis缓存管理,表结构参考:MybatisCacheEntity, 映射关系参考MybatisCacheMapper.selectByKey(java.lang.String, java.lang.String, byte[])上的Results注解
MybatisCacheManager(SqlSessionTemplate, String) - 类 的构造器top.chukongxiang.spring.cache.manager.MybatisCacheManager
构造器
MybatisCacheMapper - top.chukongxiang.spring.cache.mapper中的接口
 

N

name - 类 中的变量top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
cacheName
name - 类 中的变量top.chukongxiang.spring.cache.model.MybatisCache
 
name - 类 中的变量top.chukongxiang.spring.cache.model.RedisCache
 
nextId() - 类 中的方法top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
获得下一个ID (该方法是线程安全的)

P

parseKey(String, JoinPoint) - 类 中的静态方法top.chukongxiang.spring.cache.aop.SpringCacheAop
 
parseToByte(Object) - 类 中的静态方法top.chukongxiang.spring.cache.tool.ByteUtil
 
parseToObject(byte[]) - 类 中的静态方法top.chukongxiang.spring.cache.tool.ByteUtil
 
pointCut() - 类 中的方法top.chukongxiang.spring.cache.aop.SpringCacheClearsAop
 
post() - 类 中的方法top.chukongxiang.spring.cache.aop.SpringCacheAop
 
prefix - 类 中的变量top.chukongxiang.spring.cache.aop.SpringCacheAop
默认前缀
prefix - 类 中的变量top.chukongxiang.spring.cache.aop.SpringCacheClearAop
 
put(Object, Object) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCache
向cache中放入一个缓存
put(Object, Object, long) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCache
向cache中放入一个缓存
put(String, String, Object) - 类 中的方法top.chukongxiang.spring.cache.core.SpringCacheTemplate
 
put(String, String, Object, long) - 类 中的方法top.chukongxiang.spring.cache.core.SpringCacheTemplate
 
put(Object, Object) - 类 中的方法top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
 
put(Object, Object, long) - 类 中的方法top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
put方法
put(Object, Object) - 类 中的方法top.chukongxiang.spring.cache.model.MybatisCache
 
put(Object, Object, long) - 类 中的方法top.chukongxiang.spring.cache.model.MybatisCache
 
put(Object, Object) - 类 中的方法top.chukongxiang.spring.cache.model.RedisCache
 
put(Object, Object, long) - 类 中的方法top.chukongxiang.spring.cache.model.RedisCache
 
putIfAbsent(Object, Object) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCache
当缓存中没有该值时放入缓存

R

RedisCache - top.chukongxiang.spring.cache.model中的类
 
RedisCache() - 类 的构造器top.chukongxiang.spring.cache.model.RedisCache
 
RedisCacheManager - top.chukongxiang.spring.cache.manager中的类
RedisCache 暂未实现
RedisCacheManager(RedisConnectionFactory) - 类 的构造器top.chukongxiang.spring.cache.manager.RedisCacheManager
 
RedisCacheManager(RedisTemplate<String, Object>) - 类 的构造器top.chukongxiang.spring.cache.manager.RedisCacheManager
 
redisTemplate - 类 中的变量top.chukongxiang.spring.cache.manager.RedisCacheManager
 
redisTemplate - 类 中的变量top.chukongxiang.spring.cache.model.RedisCache
 
registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - 类 中的方法top.chukongxiang.spring.cache.core.SpringCacheAutoConfiguration
 
registerSyntheticBeanIfMissing(BeanDefinitionRegistry, Class<?>, Class<?>, boolean) - 类 中的方法top.chukongxiang.spring.cache.core.SpringCacheAutoConfiguration
检查并注册Bean
remove(String) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCacheManager
 
remove(String, Object) - 接口 中的方法top.chukongxiang.spring.cache.core.SpringCacheManager
 
remove(String, String) - 类 中的方法top.chukongxiang.spring.cache.core.SpringCacheTemplate
 
remove(String) - 类 中的方法top.chukongxiang.spring.cache.manager.ExpiresCacheManager
 
remove(String, Object) - 类 中的方法top.chukongxiang.spring.cache.manager.ExpiresCacheManager
 
remove(String) - 类 中的方法top.chukongxiang.spring.cache.manager.MybatisCacheManager
 
remove(String, Object) - 类 中的方法top.chukongxiang.spring.cache.manager.MybatisCacheManager
 
remove(String) - 类 中的方法top.chukongxiang.spring.cache.manager.RedisCacheManager
 
remove(String, Object) - 类 中的方法top.chukongxiang.spring.cache.manager.RedisCacheManager
 
removeByCacheName(String, String) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 
removeById(String, Long) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 
removeByIds(String, Collection<Long>) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 
removeByKey(String, String, byte[]) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 

S

saveTime - 类 中的变量top.chukongxiang.spring.cache.model.value.MybatisCacheEntity
 
selectByKey(String, String, byte[]) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 
selectList(String, String) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 
sequence - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
毫秒内序列(0~4095)
sequenceBits - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
序列在id中占的位数
sequenceMask - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
生成序列的掩码,这里为4095 (0b111111111111=0xfff=4095)
serializeKey(Object) - 类 中的方法top.chukongxiang.spring.cache.model.RedisCache
 
SnowflakeIdWorker - top.chukongxiang.spring.cache.tool中的类
Twitter_Snowflake
SnowFlake的结构如下(每部分用-分开):
0 - 0000000000 0000000000 0000000000 0000000000 0 - 00000 - 00000 - 000000000000
1位标识,由于long基本类型在Java中是带符号的,最高位是符号位,正数是0,负数是1,所以id一般是正数,最高位是0
41位时间截(毫秒级),注意,41位时间截不是存储当前时间的时间截,而是存储时间截的差值(当前时间截 - 开始时间截) 得到的值),这里的的开始时间截,一般是我们的id生成器开始使用的时间,由我们程序来指定的(如下下面程序IdWorker类的startTime属性)。
SnowflakeIdWorker(long, long) - 类 的构造器top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
构造函数
SPEL_EXPRESSION_PARSER - 类 中的静态变量top.chukongxiang.spring.cache.aop.SpringCacheAop
 
SpringCache - top.chukongxiang.spring.cache.core中的接口
 
SpringCacheAop - top.chukongxiang.spring.cache.aop中的类
 
SpringCacheAop(SpringCacheManager) - 类 的构造器top.chukongxiang.spring.cache.aop.SpringCacheAop
 
SpringCacheAutoConfiguration - top.chukongxiang.spring.cache.core中的类
 
SpringCacheAutoConfiguration() - 类 的构造器top.chukongxiang.spring.cache.core.SpringCacheAutoConfiguration
 
SpringCacheClearAop - top.chukongxiang.spring.cache.aop中的类
 
SpringCacheClearAop() - 类 的构造器top.chukongxiang.spring.cache.aop.SpringCacheClearAop
 
SpringCacheClearsAop - top.chukongxiang.spring.cache.aop中的类
清空多个缓存AOP
SpringCacheClearsAop() - 类 的构造器top.chukongxiang.spring.cache.aop.SpringCacheClearsAop
 
springCacheManager - 类 中的变量top.chukongxiang.spring.cache.aop.SpringCacheAop
缓存管理器,Bean注入
springCacheManager - 类 中的变量top.chukongxiang.spring.cache.aop.SpringCacheClearAop
 
springCacheManager - 类 中的变量top.chukongxiang.spring.cache.aop.SpringCacheClearsAop
 
SpringCacheManager - top.chukongxiang.spring.cache.core中的接口
 
springCacheManager - 类 中的变量top.chukongxiang.spring.cache.core.SpringCacheTemplate
 
SpringCacheTemplate - top.chukongxiang.spring.cache.core中的类
 
SpringCacheTemplate(SpringCacheManager) - 类 的构造器top.chukongxiang.spring.cache.core.SpringCacheTemplate
 
SpringKeyGenerator - top.chukongxiang.spring.cache.core中的接口
Key自动生成
store - 类 中的变量top.chukongxiang.spring.cache.model.ExpiresConcurrentMapCache
缓存内容map

T

tableName - 类 中的变量top.chukongxiang.spring.cache.manager.MybatisCacheManager
缓存表的表名,表结构参考:MybatisCacheEntity, 映射关系参考MybatisCacheMapper.selectByKey(java.lang.String, java.lang.String, byte[])上的Results注解
tableName - 类 中的变量top.chukongxiang.spring.cache.model.MybatisCache
 
tilNextMillis(long) - 类 中的方法top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
阻塞到下一个毫秒,直到获得新的时间戳
timeGen() - 类 中的方法top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
返回以毫秒为单位的当前时间
timestampLeftShift - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
时间截向左移22位(5+5+12)
top.chukongxiang.spring.cache.annotation - 程序包 top.chukongxiang.spring.cache.annotation
 
top.chukongxiang.spring.cache.aop - 程序包 top.chukongxiang.spring.cache.aop
 
top.chukongxiang.spring.cache.core - 程序包 top.chukongxiang.spring.cache.core
 
top.chukongxiang.spring.cache.generator - 程序包 top.chukongxiang.spring.cache.generator
 
top.chukongxiang.spring.cache.manager - 程序包 top.chukongxiang.spring.cache.manager
 
top.chukongxiang.spring.cache.mapper - 程序包 top.chukongxiang.spring.cache.mapper
 
top.chukongxiang.spring.cache.model - 程序包 top.chukongxiang.spring.cache.model
 
top.chukongxiang.spring.cache.model.value - 程序包 top.chukongxiang.spring.cache.model.value
 
top.chukongxiang.spring.cache.tool - 程序包 top.chukongxiang.spring.cache.tool
 
twepoch - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
开始时间截 (2015-01-01)

V

validate(String) - 接口 中的方法top.chukongxiang.spring.cache.mapper.MybatisCacheMapper
 
value - 类 中的变量top.chukongxiang.spring.cache.model.value.ExpiresValue
缓存的值
value - 类 中的变量top.chukongxiang.spring.cache.model.value.MybatisCacheEntity
 

W

workerId - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
工作机器ID(0~31)
workerIdBits - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
机器id所占的位数
workerIdShift - 类 中的变量top.chukongxiang.spring.cache.tool.SnowflakeIdWorker
机器ID向左移12位
A B C D E G I K L M N P R S T V W 
跳过导航链接

Copyright © 2022 Pivotal Software, Inc.. All rights reserved.