Skip navigation links
A B C D E G I K M N P R S T 

A

AbstractDomain<ID extends Serializable> - Class in cn.fantasticmao.mundo.data.domain
AbstractDomain
AbstractDomain() - Constructor for class cn.fantasticmao.mundo.data.domain.AbstractDomain
 
add(String, Object, int) - Method in class cn.fantasticmao.mundo.data.support.MemcacheClientUtil
 
apply(Object) - Method in class cn.fantasticmao.mundo.data.partition.PartitionSeedToDataSourceKeyStrategy.NumberModulusStrategy
 
apply(Object) - Method in class cn.fantasticmao.mundo.data.partition.PartitionSeedToDataSourceKeyStrategy.TimeRangeStrategy
 
asMap() - Method in class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 

B

build(CacheLoader<K, V>) - Method in class cn.fantasticmao.mundo.data.support.MemcacheCacheBuilder
 

C

clear() - Static method in class cn.fantasticmao.mundo.data.partition.PartitionSeedContext
 
cn.fantasticmao.mundo.data - package cn.fantasticmao.mundo.data
 
cn.fantasticmao.mundo.data.domain - package cn.fantasticmao.mundo.data.domain
 
cn.fantasticmao.mundo.data.partition - package cn.fantasticmao.mundo.data.partition
 
cn.fantasticmao.mundo.data.support - package cn.fantasticmao.mundo.data.support
 
createRepositoryFactory(EntityManager) - Method in class cn.fantasticmao.mundo.data.partition.PartitionJpaRepositoryFactoryBean
 

D

delete(String) - Method in class cn.fantasticmao.mundo.data.support.MemcacheClientUtil
 
determineCurrentLookupKey() - Method in class cn.fantasticmao.mundo.data.partition.PartitionDataSource
 

E

expireTime(long, TimeUnit) - Method in class cn.fantasticmao.mundo.data.support.MemcacheCacheBuilder
 

G

get(String) - Method in class cn.fantasticmao.mundo.data.support.MemcacheClientUtil
 
get(K) - Method in class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 
get(K, Callable<? extends V>) - Method in class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 
getCreateTime() - Method in class cn.fantasticmao.mundo.data.domain.AbstractDomain
 
getId() - Method in class cn.fantasticmao.mundo.data.domain.AbstractDomain
 
getIfPresent(Object) - Method in class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 
getInstance(long) - Static method in class cn.fantasticmao.mundo.data.support.Snowflake.TwitterSnowflake
 
getModifyTime() - Method in class cn.fantasticmao.mundo.data.domain.AbstractDomain
 
getSeed() - Method in interface cn.fantasticmao.mundo.data.partition.PartitionSeedProvider
 

I

invalidate(Object) - Method in class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 

K

keyConvert(Function<Object, String>) - Method in class cn.fantasticmao.mundo.data.support.MemcacheCacheBuilder
 

M

MemcacheCacheBuilder<K,V extends Serializable> - Class in cn.fantasticmao.mundo.data.support
MemcacheCacheBuilder
MemcacheClientUtil - Class in cn.fantasticmao.mundo.data.support
MemcacheClientUtil
MemcacheClientUtil(MemcachedClient) - Constructor for class cn.fantasticmao.mundo.data.support.MemcacheClientUtil
 
MemcacheLoadingCache<K,V> - Class in cn.fantasticmao.mundo.data.support
MemcacheLoadingCache
MemcacheLoadingCache(MemcachedClient, CacheLoader<K, V>, Function<Object, String>) - Constructor for class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 
MemcacheLoadingCache(MemcachedClient, CacheLoader<K, V>, Function<Object, String>, int) - Constructor for class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 
MundoDataAutoConfiguration - Class in cn.fantasticmao.mundo.data
MundoDataAutoConfiguration
MundoDataAutoConfiguration() - Constructor for class cn.fantasticmao.mundo.data.MundoDataAutoConfiguration
 

N

newBuilder(MemcachedClient) - Static method in class cn.fantasticmao.mundo.data.support.MemcacheCacheBuilder
 
nextId() - Method in interface cn.fantasticmao.mundo.data.support.Snowflake
 
nextId() - Method in class cn.fantasticmao.mundo.data.support.Snowflake.TwitterSnowflake
 
NumberModulusStrategy(String, int) - Constructor for class cn.fantasticmao.mundo.data.partition.PartitionSeedToDataSourceKeyStrategy.NumberModulusStrategy
 

P

PartitionDataSource - Class in cn.fantasticmao.mundo.data.partition
PartitionSeedContext 获取 PartitionSeed,再由 PartitionSeedToDataSourceKeyStrategy 转换成对应 DataSource 的 Lookup Key,再从 AbstractRoutingDataSource.resolvedDataSources 中动态选择数据源。
PartitionDataSource(Map<String, DataSource>, DataSource, PartitionSeedToDataSourceKeyStrategy) - Constructor for class cn.fantasticmao.mundo.data.partition.PartitionDataSource
 
PartitionDataSourcePostProcessor - Class in cn.fantasticmao.mundo.data.partition
PartitionDataSourcePostProcessor
PartitionDataSourcePostProcessor() - Constructor for class cn.fantasticmao.mundo.data.partition.PartitionDataSourcePostProcessor
 
PartitionJpaRepositoryFactoryBean - Class in cn.fantasticmao.mundo.data.partition
PartitionJpaRepositoryFactoryBean
PartitionJpaRepositoryFactoryBean(Class) - Constructor for class cn.fantasticmao.mundo.data.partition.PartitionJpaRepositoryFactoryBean
 
PartitionParam - Annotation Type in cn.fantasticmao.mundo.data.partition
获取 Repository 方法中的第一个 PartitionParam 注解参数, 用于计算 PartitionSeedPartitionSeed 将会被托管于 PartitionSeedContext
PartitionSeedContext - Class in cn.fantasticmao.mundo.data.partition
使用 ThreadLocal 管理 PartitionParam 参数生成的 PartitionSeed
PartitionSeedContext() - Constructor for class cn.fantasticmao.mundo.data.partition.PartitionSeedContext
 
PartitionSeedProvider<SEED> - Interface in cn.fantasticmao.mundo.data.partition
指定分库实体的种子字段,使用方式例如:
PartitionSeedToDataSourceKeyStrategy - Interface in cn.fantasticmao.mundo.data.partition
PartitionSeedContext 托管的 PartitionSeed 转换成对应 DataSource 的 Lookup Key。
PartitionSeedToDataSourceKeyStrategy.NumberModulusStrategy - Class in cn.fantasticmao.mundo.data.partition
 
PartitionSeedToDataSourceKeyStrategy.TimeRangeStrategy - Class in cn.fantasticmao.mundo.data.partition
 
pop() - Static method in class cn.fantasticmao.mundo.data.partition.PartitionSeedContext
 
postProcess(ProxyFactory, RepositoryInformation) - Method in class cn.fantasticmao.mundo.data.partition.PartitionDataSourcePostProcessor
 
push(Object) - Static method in class cn.fantasticmao.mundo.data.partition.PartitionSeedContext
 
put(K, V) - Method in class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 

R

refresh(K) - Method in class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 
replace(String, Object, int) - Method in class cn.fantasticmao.mundo.data.support.MemcacheClientUtil
 

S

set(String, Object, int) - Method in class cn.fantasticmao.mundo.data.support.MemcacheClientUtil
 
setCreateTime(Timestamp) - Method in class cn.fantasticmao.mundo.data.domain.AbstractDomain
 
setId(ID) - Method in class cn.fantasticmao.mundo.data.domain.AbstractDomain
 
setModifyTime(Timestamp) - Method in class cn.fantasticmao.mundo.data.domain.AbstractDomain
 
Snowflake - Interface in cn.fantasticmao.mundo.data.support
Snowflake
Snowflake.TwitterSnowflake - Class in cn.fantasticmao.mundo.data.support
TwitterSnowflake
stats() - Method in class cn.fantasticmao.mundo.data.support.MemcacheLoadingCache
 

T

TimeRangeStrategy() - Constructor for class cn.fantasticmao.mundo.data.partition.PartitionSeedToDataSourceKeyStrategy.TimeRangeStrategy
 
toBinaryString(long) - Static method in class cn.fantasticmao.mundo.data.support.Snowflake.TwitterSnowflake
 
toString() - Method in class cn.fantasticmao.mundo.data.domain.AbstractDomain
 
A B C D E G I K M N P R S T 
Skip navigation links

Copyright © 2017–2021. All rights reserved.