| 程序包 | 说明 |
|---|---|
| com.ds.cluster.udp | |
| com.ds.common.cache | |
| com.ds.common.cache.redis | |
| com.ds.hsql | |
| com.ds.server |
| 限定符和类型 | 字段和说明 |
|---|---|
static Cache<String,Long> |
UDPClient.msgCache |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultCache<K,V>
Title: 常用代码打包
Description:
Default, non-distributed implementation of the Cache interface.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Cache |
CacheFactory.createCache(String name,
int maxCacheSize,
long maxLifetime) |
Cache |
MemCacheManager.createCache(String name,
int maxCacheSize,
long maxLifetime)
create cache with specified cacheSize and lifeTime
|
<T> Cache<String,T> |
CacheManager.createCache(String name,
int maxCacheSize,
long maxLifetime) |
static <T> Cache<String,T> |
CacheManagerFactory.createCache(String configKey,
String cacheName) |
static <T> Cache<String,T> |
CacheManagerFactory.createCache(String configKey,
String cacheName,
int maxCacheSize,
long maxLifetime) |
Cache |
MemCacheManager.getCache(String cacheKey)
Gets Cache object for certain application with cacheKey
|
<T> Cache<String,T> |
CacheManager.getCache(String cacheKey)
Gets Cache object for certain application with cacheKey
|
protected static <T> Cache<String,T> |
CacheManagerFactory.getCache(String configKey,
String cacheKey) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RedisCache<K,V> |
| 限定符和类型 | 方法和说明 |
|---|---|
Cache |
RedisCacheManager.createCache(String name,
int maxcacheSIze,
long maxLifetime) |
Cache |
RedisCacheManager.getCache(String cacheKey) |
Cache |
RedisCacheManager.getCacheNS(String cacheKey) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
HsqlDbCache |
| 限定符和类型 | 方法和说明 |
|---|---|
static Cache |
HsqlDbCacheFactory.createCache(String name,
int maxCacheSize,
long maxLifetime,
HsqlDbServer db) |
static Cache |
HsqlDbCacheManager.getCache(String cacheKey) |
Cache |
HsqlDbCacheManager.getCacheNS(String cacheKey)
Gets Cache object for certain application with cacheKey
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected static Cache<String,Long> |
JDSServer.connectTimeCache |
| 限定符和类型 | 方法和说明 |
|---|---|
Cache<String,Long> |
JDSServer.getConnectTimeCache() |
Cache<String,JDSSessionHandle> |
JDSServer.getSessionHandleCache() |
static Cache<String,String> |
JDSServer.getSessionhandleSystemCodeCache() |
Copyright © 2023 onecode. All rights reserved.