public class AutoLoadTO extends Object implements Serializable
| 构造器和说明 |
|---|
AutoLoadTO(CacheKeyTO cacheKey,
CacheAopProxyChain joinPoint,
Object[] args,
Cache cache,
int expire) |
| 限定符和类型 | 方法和说明 |
|---|---|
AutoLoadTO |
addUseTotalTime(long useTime)
记录用时
|
void |
flushRequestTime(CacheWrapper<Object> cacheWrapper) |
Object[] |
getArgs() |
long |
getAverageUseTime()
平均耗时
|
Cache |
getCache() |
CacheKeyTO |
getCacheKey() |
int |
getExpire() |
long |
getFirstRequestTime() |
CacheAopProxyChain |
getJoinPoint() |
long |
getLastLoadTime() |
long |
getLastRequestTime() |
long |
getLoadCnt() |
long |
getRequestTimes() |
long |
getUseTotalTime() |
boolean |
isLoading() |
AutoLoadTO |
setExpire(int expire) |
AutoLoadTO |
setLastLoadTime(long lastLoadTime) |
AutoLoadTO |
setLastRequestTime(long lastRequestTime) |
AutoLoadTO |
setLoading(boolean loading) |
public AutoLoadTO(CacheKeyTO cacheKey, CacheAopProxyChain joinPoint, Object[] args, Cache cache, int expire)
public CacheAopProxyChain getJoinPoint()
public long getLastRequestTime()
public AutoLoadTO setLastRequestTime(long lastRequestTime)
public long getFirstRequestTime()
public long getRequestTimes()
public Cache getCache()
public long getLastLoadTime()
public AutoLoadTO setLastLoadTime(long lastLoadTime)
lastLoadTime - last load timepublic CacheKeyTO getCacheKey()
public boolean isLoading()
public AutoLoadTO setLoading(boolean loading)
loading - 是否正在加载public Object[] getArgs()
public long getLoadCnt()
public long getUseTotalTime()
public AutoLoadTO addUseTotalTime(long useTime)
useTime - 用时public long getAverageUseTime()
public int getExpire()
public AutoLoadTO setExpire(int expire)
expire - expirepublic void flushRequestTime(CacheWrapper<Object> cacheWrapper)
Copyright © 2020. All rights reserved.