Serialized Form
-
Package cn.sliew.milky.common.cache.lru
-
Class cn.sliew.milky.common.cache.lru.LRUCache extends LinkedHashMap<K,V> implements Serializable
- serialVersionUID:
- -5167631809472116969L
-
Serialized Fields
-
lock
Lock lock
-
maxCapacity
int maxCapacity
-
-
-
Package cn.sliew.milky.common.chain
-
Class cn.sliew.milky.common.chain.ContextMap extends ConcurrentHashMap<K,V> implements Serializable
- serialVersionUID:
- 20120724L
-
Serialized Fields
-
logger
Logger logger
-
-
Class cn.sliew.milky.common.chain.PipelineException extends RuntimeException implements Serializable
- serialVersionUID:
- 20120724L
-
-
Package cn.sliew.milky.common.collect
-
Class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Segment extends ReentrantLock implements Serializable
-
Serialized Fields
-
count
AtomicInteger count
The total number of references contained in this segment. This includes chained references and references that have been garbage collected but not purged. -
initialSize
int initialSize
-
referenceManager
ConcurrentReferenceHashMap.ReferenceManager referenceManager
-
references
ConcurrentReferenceHashMap.Reference<K,V>[] references
Array of references indexed using the low order bits from the hash. This property should only be set along withresizeThreshold. -
resizeThreshold
int resizeThreshold
The threshold when resizing of the references should occur. Whencountexceeds this value references will be resized.
-
-
-
Class cn.sliew.milky.common.collect.SetOnce.AlreadySetException extends IllegalStateException implements Serializable
-
-
Package cn.sliew.milky.common.diff
-
Class cn.sliew.milky.common.diff.AbstractDiffable extends Object implements Serializable
-
Class cn.sliew.milky.common.diff.CompleteDiff extends Object implements Serializable
-
Class cn.sliew.milky.common.diff.JdkMapDiff extends MapDiff<K,T,Map<K,T>> implements Serializable
-
Class cn.sliew.milky.common.diff.MapDiff extends Object implements Serializable
-
-
Package cn.sliew.milky.common.exception
-
Class cn.sliew.milky.common.exception.BizException extends RuntimeException implements Serializable
- serialVersionUID:
- 9196589398441900408L
-
Serialized Fields
-
code
long code
-
retryable
boolean retryable
-
-
-
Package cn.sliew.milky.common.interceptor
-
Class cn.sliew.milky.common.interceptor.DefaultInterceptorContext extends Object implements Serializable
- serialVersionUID:
- -8969967347689639974L
-
Serialized Fields
-
interceptor
Interceptor<Request,Response> interceptor
-
next
InterceptorContext<Request,Response> next
-
-
-
Package cn.sliew.milky.common.model.dto
-
Class cn.sliew.milky.common.model.dto.AbstractPageDTO extends AbstractResultDTO implements Serializable
-
Serialized Fields
-
details
Collection<T> details
records detail. -
max
long max
max available page. -
page
long page
page from param. -
size
long size
size from param. -
total
long total
total records num.
-
-
-
Class cn.sliew.milky.common.model.dto.AbstractResultDTO extends Object implements Serializable
-
Class cn.sliew.milky.common.model.dto.Response extends Object implements Serializable
- serialVersionUID:
- 5359808875847456900L
-
Serialized Fields
-
code
long code
reponse code. -
cost
long cost
response cost. -
data
T data
response data. -
hasNext
boolean hasNext
true enable next page request, false otherwise indicats no more data. -
message
String message
response message, such as failure message. -
retryable
boolean retryable
true enable exception response retry, false otherwise disable exception response retry. most time client is responsible for fault tolerate such as timeout, retry, circuitbreaker, but development experience indicat that server often knows more about service performance and suggests how to tune fault tolerate settings. server provides suggestions for client to prevent retry disaster. -
success
boolean success
response status. true: success, false: failure. -
timestamp
long timestamp
server timestamp when receive reqeust. -
totalSize
long totalSize
total size of data. userful for page request.
-
-
-
Package cn.sliew.milky.common.model.param
-
Class cn.sliew.milky.common.model.param.AbstractPageParam extends AbstractParam implements Serializable
-
Serialized Fields
-
page
long page
页码, 默认为1. 最小为1, 最大为20 -
size
long size
分页, 默认为20. 最小为1, 最大为100
-
-
-
Class cn.sliew.milky.common.model.param.AbstractParam extends Object implements Serializable
-
Serialized Fields
-
explain
boolean explain
debug开关,用于输出接口运行细节. 生产环境关闭,开发测试环境打开,手动调试、排查问题时打开. -
profile
boolean profile
性能profile开关,用于输出接口性能细节. 生产环境关闭,开发测试环境打开,手动调试、排查问题时打开.
-
-
-
-
Package cn.sliew.milky.common.parse
-
Class cn.sliew.milky.common.parse.Token extends Object implements Serializable
- serialVersionUID:
- -485514933964341727L
-
Serialized Fields
-
segments
List<TokenFormat.Segment> segments
-
tokenFormat
TokenFormat tokenFormat
-
-
Class cn.sliew.milky.common.parse.TokenFormat extends Object implements Serializable
- serialVersionUID:
- 2480921128990881242L
-
Class cn.sliew.milky.common.parse.TokenFormat.Segment extends Object implements Serializable
- serialVersionUID:
- 4187949052186059932L
-
Class cn.sliew.milky.common.parse.TokenParseException extends BizException implements Serializable
- serialVersionUID:
- -1788483700757895974L
-
-
Package cn.sliew.milky.common.path
-
Package cn.sliew.milky.common.unit
-
Class cn.sliew.milky.common.unit.ValueParseException extends BizException implements Serializable
- serialVersionUID:
- -2137471080439797604L
-