A B C D E F G H I J K L M N O P Q R S T U V W Z 
All Classes All Packages

A

AAAA - cn.sliew.milky.common.exception.BizExceptionEnum
下面各系统异常枚举
AbstractConstant<T extends AbstractConstant<T>> - Class in cn.sliew.milky.common.constant
Constant的基类实现。
AbstractConstant(int, String) - Constructor for class cn.sliew.milky.common.constant.AbstractConstant
Creates a new instance.
AbstractDiffable<T extends Diffable<T>> - Class in cn.sliew.milky.common.diff
Abstract diffable object with simple diffs implementation that sends the entire object if object has changed or nothing if object remained the same.
AbstractDiffable() - Constructor for class cn.sliew.milky.common.diff.AbstractDiffable
 
AbstractLifeCycle - Class in cn.sliew.milky.common.lifecycle
 
AbstractLifeCycle() - Constructor for class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
AbstractPageDTO<T> - Class in cn.sliew.milky.common.model.dto
 
AbstractPageDTO() - Constructor for class cn.sliew.milky.common.model.dto.AbstractPageDTO
 
AbstractPageParam - Class in cn.sliew.milky.common.model.param
 
AbstractPageParam() - Constructor for class cn.sliew.milky.common.model.param.AbstractPageParam
 
AbstractParam - Class in cn.sliew.milky.common.model.param
 
AbstractParam() - Constructor for class cn.sliew.milky.common.model.param.AbstractParam
 
AbstractPipelineProcess<K,​V> - Class in cn.sliew.milky.common.chain
 
AbstractPropertyResolver - Class in cn.sliew.milky.common.environment
 
AbstractPropertyResolver() - Constructor for class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
AbstractPropertySource<T> - Class in cn.sliew.milky.common.environment
 
AbstractPropertySource(String, T) - Constructor for class cn.sliew.milky.common.environment.AbstractPropertySource
 
AbstractResultDTO - Class in cn.sliew.milky.common.model.dto
 
AbstractResultDTO() - Constructor for class cn.sliew.milky.common.model.dto.AbstractResultDTO
 
AbstractSource<T> - Class in cn.sliew.milky.common.recycler
 
AbstractSource() - Constructor for class cn.sliew.milky.common.recycler.AbstractSource
 
accept(T) - Method in interface cn.sliew.milky.common.function.CheckedConsumer
 
acquire() - Method in class cn.sliew.milky.common.concurrent.ReleasableLock
 
ActionFilter<Request,​Response> - Interface in cn.sliew.milky.common.filter
A filter allowing to filter transport actions
ActionFilterChain<Request,​Response> - Interface in cn.sliew.milky.common.filter
A filter chain allowing to continue and process the transport action request
ActionListener<Response> - Interface in cn.sliew.milky.common.filter
A listener for action responses or failures.
addAfter(String, PropertySource<?>) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Add the given property source object with precedence immediately lower than the named relative property source.
addAfter(String, String, Command) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
addAfter(String, String, Command<K, V>) - Method in interface cn.sliew.milky.common.chain.Pipeline
Inserts a Command after an existing command of this pipeline.
addBefore(String, PropertySource<?>) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Add the given property source object with precedence immediately higher than the named relative property source.
addBefore(String, String, Command) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
addBefore(String, String, Command<K, V>) - Method in interface cn.sliew.milky.common.chain.Pipeline
Inserts a Command before an existing command of this pipeline.
addFirst(PropertySource<?>) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Add the given property source object with highest precedence.
addFirst(String, Command) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
addFirst(String, Command<K, V>) - Method in interface cn.sliew.milky.common.chain.Pipeline
Inserts a PipelineProcess at the first position of this pipeline.
addLast(PropertySource<?>) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Add the given property source object with lowest precedence.
addLast(String, Command) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
addLast(String, Command<K, V>) - Method in interface cn.sliew.milky.common.chain.Pipeline
Appends a PipelineProcess at the last position of this pipeline.
addLifeCycleListener(LifeCycleListener) - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
addLifeCycleListener(LifeCycleListener) - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
addStateChangeListener(StateChangeListener) - Method in interface cn.sliew.milky.common.state.StateMachine
Add a new state change listener
afterInitialize(T) - Method in interface cn.sliew.milky.common.lifecycle.LifeCycleListener
After component initialize.
afterRelease(boolean) - Method in class cn.sliew.milky.common.recycler.ConcurrentDequeRecycler
 
afterRelease(boolean) - Method in class cn.sliew.milky.common.recycler.DequeRecycler
Called after a release.
afterStart(T) - Method in interface cn.sliew.milky.common.lifecycle.LifeCycleListener
After component start.
afterStop(T) - Method in interface cn.sliew.milky.common.lifecycle.LifeCycleListener
After component stop.
alignObjectSize(long) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Aligns an object size to be the next multiple of RamUsageEstimator.NUM_BYTES_OBJECT_ALIGNMENT.
AlreadySetException() - Constructor for exception cn.sliew.milky.common.collect.SetOnce.AlreadySetException
 
append(TokenFormat.Segment) - Method in class cn.sliew.milky.common.parse.Token
Construct a new Token by appending a new TokenFormat.Segment to the end of this Token.
append(String, Object) - Method in class cn.sliew.milky.common.util.ToStringBuilder
 
append(String, String) - Method in class cn.sliew.milky.common.parse.Token
Construct a new Token by appending a new TokenFormat.Segment, based on the supplied segmentType and value, to the end of this Token.
appendTo(StringBuilder) - Method in class cn.sliew.milky.common.path.NameIterator
 
apply(Map<K, T>) - Method in class cn.sliew.milky.common.diff.JdkMapDiff
 
apply(Request, ActionListener<Response>, ActionFilterChain<Request, Response>) - Method in interface cn.sliew.milky.common.filter.ActionFilter
Enables filtering the execution of an action on the request side, either by sending a response through the ActionListener or by continuing the execution through the given chain
apply(T) - Method in class cn.sliew.milky.common.diff.CompleteDiff
 
apply(T) - Method in interface cn.sliew.milky.common.diff.Diff
Applies difference to the specified part and returns the resulted part
apply(T) - Method in interface cn.sliew.milky.common.function.CheckedFunction
 
arrayToCommaDelimitedString(Object[]) - Static method in class cn.sliew.milky.common.primitives.Strings
Convenience method to return a String array as a CSV String.
arrayToDelimitedString(Object[], String) - Static method in class cn.sliew.milky.common.primitives.Strings
Convenience method to return a String array as a delimited (e.g.
arrayToDelimitedString(Object[], String, StringBuilder) - Static method in class cn.sliew.milky.common.primitives.Strings
 
ArrayUtil - Class in cn.sliew.milky.common.util
 
Assertions - Class in cn.sliew.milky.common.check
Provides a static final field that can be used to check if assertions are enabled.
assertLegalRelativeAddition(String, PropertySource<?>) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Ensure that the given property source is not being added relative to itself.
asserts(boolean) - Static method in enum cn.sliew.milky.common.check.Asserts
 
asserts(boolean, Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Asserts
 
Asserts - Enum in cn.sliew.milky.common.check
Conditional failures explained guava cache的一篇关于条件检查失败的描述。在大多数时候 if (!condition) throw new RuntimeException(); 即可。 但是深入思考下去,关于条件检查也有不同的区别。
assume(boolean) - Static method in enum cn.sliew.milky.common.check.Assumes
 
assume(boolean, Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Assumes
 
Assumes - Enum in cn.sliew.milky.common.check
 
attr(AttributeKey<T>) - Method in interface cn.sliew.milky.common.constant.AttributeMap
Get the Attribute for the given AttributeKey.
attr(AttributeKey<T>) - Method in class cn.sliew.milky.common.constant.DefaultAttributeMap
 
Attribute<T> - Interface in cn.sliew.milky.common.constant
An attribute which allows to store a value reference.
AttributeKey<T> - Class in cn.sliew.milky.common.constant
Key which can be used to access Attribute out of the AttributeMap.
AttributeMap - Interface in cn.sliew.milky.common.constant
Holds Attributes which can be accessed via AttributeKey.
attrs() - Method in interface cn.sliew.milky.common.constant.AttributeMap
Get all Attribute.
attrs() - Method in class cn.sliew.milky.common.constant.DefaultAttributeMap
 
available() - Method in class cn.sliew.milky.common.io.stream.InputStreamStreamInput
 
available() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 

B

BBBB - cn.sliew.milky.common.exception.BizExceptionEnum
 
beforeInitialize(T) - Method in interface cn.sliew.milky.common.lifecycle.LifeCycleListener
Before component initialize.
beforeRelease() - Method in class cn.sliew.milky.common.recycler.ConcurrentDequeRecycler
 
beforeRelease() - Method in class cn.sliew.milky.common.recycler.DequeRecycler
Called before releasing an object, returns true if the object should be recycled and false otherwise.
beforeStart(T) - Method in interface cn.sliew.milky.common.lifecycle.LifeCycleListener
Before component start.
beforeStop(T) - Method in interface cn.sliew.milky.common.lifecycle.LifeCycleListener
Before component stop.
BitUtil - Class in cn.sliew.milky.common.util
 
BizException - Exception in cn.sliew.milky.common.exception
 
BizException() - Constructor for exception cn.sliew.milky.common.exception.BizException
 
BizException(long, boolean, String) - Constructor for exception cn.sliew.milky.common.exception.BizException
 
BizException(BizExceptionEnum) - Constructor for exception cn.sliew.milky.common.exception.BizException
 
BizException(String) - Constructor for exception cn.sliew.milky.common.exception.BizException
 
BizException(String, Throwable) - Constructor for exception cn.sliew.milky.common.exception.BizException
 
BizException(Throwable) - Constructor for exception cn.sliew.milky.common.exception.BizException
 
BizExceptionEnum - Enum in cn.sliew.milky.common.exception
 
BLANK_PARAM_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
Booleans - Class in cn.sliew.milky.common.primitives
Static utility methods pertaining to boolean primitives.
build() - Method in class cn.sliew.milky.common.cache.local.CacheBuilder
 
builder() - Static method in class cn.sliew.milky.common.cache.local.CacheBuilder
 
BYTES - cn.sliew.milky.common.unit.ByteUnit
 
ByteUnit - Enum in cn.sliew.milky.common.unit
 
ByteValue - Class in cn.sliew.milky.common.unit
 
ByteValue(long) - Constructor for class cn.sliew.milky.common.unit.ByteValue
 
ByteValue(long, ByteUnit) - Constructor for class cn.sliew.milky.common.unit.ByteValue
 

C

Cache<K,​V> - Class in cn.sliew.milky.common.cache.local
A simple concurrent cache.
Cache.CacheStats - Class in cn.sliew.milky.common.cache.local
 
CacheBuilder<K,​V> - Class in cn.sliew.milky.common.cache.local
 
CacheLoader<K,​V> - Interface in cn.sliew.milky.common.cache.local
 
CacheStats(long, long, long) - Constructor for class cn.sliew.milky.common.cache.local.Cache.CacheStats
 
calculateShift(int, int) - Static method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Calculate a shift value that can be used to create a power-of-two value between the specified maximum and minimum values.
call() - Method in interface cn.sliew.milky.common.concurrent.CallableWrapper
 
call() - Method in interface cn.sliew.milky.common.exception.Rethrower.Procedure
 
CallableWrapper<T> - Interface in cn.sliew.milky.common.concurrent
 
camelToSplitName(String, String) - Static method in class cn.sliew.milky.common.util.StringUtils
 
cancel() - Method in interface cn.sliew.milky.common.timewheel.Timeout
Attempts to cancel the TimerTask associated with this handle.
capitalize(String) - Static method in class cn.sliew.milky.common.primitives.Strings
Capitalize a String, changing the first letter to upper case as per Character.toUpperCase(char).
cause() - Method in class cn.sliew.milky.common.explain.Explanation
The throwable reason, maybe null.
cause(Throwable) - Method in class cn.sliew.milky.common.explain.Explanation
 
CCCC - cn.sliew.milky.common.exception.BizExceptionEnum
 
checkArgument(boolean) - Static method in enum cn.sliew.milky.common.check.Ensures
 
checkArgument(boolean, Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Ensures
 
CheckedConsumer<T,​E extends Throwable> - Interface in cn.sliew.milky.common.function
A Consumer-like interface which allows throwing checked exceptions.
CheckedFunction<T,​R,​E extends Throwable> - Interface in cn.sliew.milky.common.function
 
CheckedSupplier<T,​E extends Throwable> - Interface in cn.sliew.milky.common.function
 
checkJsonValid(String) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
checkNotNull(T) - Static method in enum cn.sliew.milky.common.check.Ensures
 
checkNotNull(T, Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Ensures
 
checkState(boolean) - Static method in enum cn.sliew.milky.common.check.Ensures
 
checkState(boolean, Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Ensures
 
ClassUtil - Class in cn.sliew.milky.common.util
 
cleanTruncate(String, int) - Static method in class cn.sliew.milky.common.primitives.Strings
Truncates string to a length less than length.
clear() - Method in class cn.sliew.milky.common.cache.lru.LRUCache
 
clear() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
clear() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Segment
Clear all items from this segment.
clearAttachments() - Method in class cn.sliew.milky.common.context.ExecuteContext
 
clone() - Method in class cn.sliew.milky.common.parse.Token
 
close() - Method in class cn.sliew.milky.common.concurrent.ReleasableLock
 
close() - Method in class cn.sliew.milky.common.io.stream.InputStreamStreamInput
 
close() - Method in class cn.sliew.milky.common.io.stream.OutputStreamStreamOutput
 
close() - Method in class cn.sliew.milky.common.io.stream.StreamInput
Closes the stream to further operations.
close() - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Closes this stream to further operations.
close() - Method in class cn.sliew.milky.common.recycler.NoneRecycler.NoneValue
 
close() - Method in interface cn.sliew.milky.common.recycler.Value
 
close() - Method in interface cn.sliew.milky.common.release.Releasable
 
close(T) - Method in interface cn.sliew.milky.common.reference.ResourceLeakTracker
Close the leak so that ResourceLeakTracker does not warn about leaked resources.
cn.sliew.milky.common.cache.lfu - package cn.sliew.milky.common.cache.lfu
 
cn.sliew.milky.common.cache.local - package cn.sliew.milky.common.cache.local
 
cn.sliew.milky.common.cache.lru - package cn.sliew.milky.common.cache.lru
 
cn.sliew.milky.common.chain - package cn.sliew.milky.common.chain
 
cn.sliew.milky.common.check - package cn.sliew.milky.common.check
 
cn.sliew.milky.common.collect - package cn.sliew.milky.common.collect
 
cn.sliew.milky.common.concurrent - package cn.sliew.milky.common.concurrent
 
cn.sliew.milky.common.constant - package cn.sliew.milky.common.constant
 
cn.sliew.milky.common.context - package cn.sliew.milky.common.context
 
cn.sliew.milky.common.diff - package cn.sliew.milky.common.diff
 
cn.sliew.milky.common.environment - package cn.sliew.milky.common.environment
 
cn.sliew.milky.common.exception - package cn.sliew.milky.common.exception
 
cn.sliew.milky.common.explain - package cn.sliew.milky.common.explain
 
cn.sliew.milky.common.filter - package cn.sliew.milky.common.filter
 
cn.sliew.milky.common.function - package cn.sliew.milky.common.function
 
cn.sliew.milky.common.interceptor - package cn.sliew.milky.common.interceptor
 
cn.sliew.milky.common.io.stream - package cn.sliew.milky.common.io.stream
 
cn.sliew.milky.common.lifecycle - package cn.sliew.milky.common.lifecycle
 
cn.sliew.milky.common.model.dto - package cn.sliew.milky.common.model.dto
 
cn.sliew.milky.common.model.param - package cn.sliew.milky.common.model.param
 
cn.sliew.milky.common.parse - package cn.sliew.milky.common.parse
 
cn.sliew.milky.common.parse.placeholder - package cn.sliew.milky.common.parse.placeholder
 
cn.sliew.milky.common.path - package cn.sliew.milky.common.path
 
cn.sliew.milky.common.primitives - package cn.sliew.milky.common.primitives
 
cn.sliew.milky.common.recycler - package cn.sliew.milky.common.recycler
 
cn.sliew.milky.common.reference - package cn.sliew.milky.common.reference
 
cn.sliew.milky.common.regex - package cn.sliew.milky.common.regex
 
cn.sliew.milky.common.release - package cn.sliew.milky.common.release
 
cn.sliew.milky.common.state - package cn.sliew.milky.common.state
 
cn.sliew.milky.common.stopwatch - package cn.sliew.milky.common.stopwatch
 
cn.sliew.milky.common.timewheel - package cn.sliew.milky.common.timewheel
 
cn.sliew.milky.common.unit - package cn.sliew.milky.common.unit
 
cn.sliew.milky.common.util - package cn.sliew.milky.common.util
 
cn.sliew.milky.common.version - package cn.sliew.milky.common.version
 
cn.sliew.milky.common.watchdog - package cn.sliew.milky.common.watchdog
 
coalesceToEmpty(String) - Static method in class cn.sliew.milky.common.primitives.Strings
 
code - Variable in exception cn.sliew.milky.common.exception.BizException
 
collectionToCommaDelimitedString(Iterable<?>) - Static method in class cn.sliew.milky.common.primitives.Strings
Convenience method to return a Collection as a CSV String.
collectionToDelimitedString(Iterable<?>, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Convenience method to return a Collection as a delimited (e.g.
collectionToDelimitedString(Iterable<?>, String, String, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Convenience method to return a Collection as a delimited (e.g.
collectionToDelimitedString(Iterable<?>, String, String, String, StringBuilder) - Static method in class cn.sliew.milky.common.primitives.Strings
 
commaDelimitedListToSet(String) - Static method in class cn.sliew.milky.common.primitives.Strings
Convenience method to convert a CSV string list to a set.
commaDelimitedListToStringArray(String) - Static method in class cn.sliew.milky.common.primitives.Strings
Convert a CSV list into an array of Strings.
command() - Method in interface cn.sliew.milky.common.chain.PipelineProcess
The Command that is bound this PipelineProcess.
Command<K,​V> - Interface in cn.sliew.milky.common.chain
没有添加netty的@Shareable特性,如果Command被添加如多个pipeline,需要 Command 处理并发等问题
compareAndSet(T, T) - Method in interface cn.sliew.milky.common.constant.Attribute
Atomically sets the value to the given updated value if the current value == the expected value.
compareTo(ByteValue) - Method in class cn.sliew.milky.common.unit.ByteValue
 
compareTo(SizeValue) - Method in class cn.sliew.milky.common.unit.SizeValue
 
compareTo(TimeValue) - Method in class cn.sliew.milky.common.unit.TimeValue
 
compareTo(T) - Method in class cn.sliew.milky.common.constant.AbstractConstant
 
CompleteDiff<T extends Diffable<T>> - Class in cn.sliew.milky.common.diff
 
COMPRESSED_REFS_ENABLED - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
True, iff compressed references (oops) are enabled by this JVM
computeIfAbsent(K, CacheLoader<K, V>) - Method in class cn.sliew.milky.common.cache.local.Cache
If the specified key is not already associated with a value (or is mapped to null), attempts to compute its value using the given mapping function and enters it into this map unless null.
ConcurrentDequeRecycler<T> - Class in cn.sliew.milky.common.recycler
A Recycler implementation based on a concurrent Deque.
ConcurrentDequeRecycler(Source<T>, int) - Constructor for class cn.sliew.milky.common.recycler.ConcurrentDequeRecycler
 
ConcurrentReferenceHashMap<K,​V> - Class in cn.sliew.milky.common.collect
A ConcurrentHashMap that uses soft or weak references for both keys and values.
ConcurrentReferenceHashMap() - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int) - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, float) - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, float, int) - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, float, int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, int) - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap(int, ConcurrentReferenceHashMap.ReferenceType) - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Create a new ConcurrentReferenceHashMap instance.
ConcurrentReferenceHashMap.Entry<K,​V> - Class in cn.sliew.milky.common.collect
A single map entry.
ConcurrentReferenceHashMap.Reference<K,​V> - Interface in cn.sliew.milky.common.collect
A reference to an ConcurrentReferenceHashMap.Entry contained in the map.
ConcurrentReferenceHashMap.ReferenceManager - Class in cn.sliew.milky.common.collect
Strategy class used to manage References.
ConcurrentReferenceHashMap.ReferenceType - Enum in cn.sliew.milky.common.collect
Various reference types supported by this map.
ConcurrentReferenceHashMap.Restructure - Enum in cn.sliew.milky.common.collect
The types of restructuring that can be performed.
ConcurrentReferenceHashMap.Segment - Class in cn.sliew.milky.common.collect
A single segment used to divide the map to allow better concurrent performance.
condition(boolean) - Static method in enum cn.sliew.milky.common.check.Ensures
Assert that the supplied predicate is true.
condition(boolean, Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Ensures
Assert that the supplied predicate is true.
Constant<T extends Constant<T>> - Interface in cn.sliew.milky.common.constant
单例,支持==操作符的安全比较。由ConstantPool创建和管理。
ConstantPool<T extends Constant<T>> - Class in cn.sliew.milky.common.constant
一个Constant池。
ConstantPool() - Constructor for class cn.sliew.milky.common.constant.ConstantPool
 
Constants - Class in cn.sliew.milky.common.util
Some useful constants.
containsKey(Object) - Method in class cn.sliew.milky.common.cache.lru.LRUCache
 
containsKey(Object) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
containsProperty(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
containsProperty(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertySource
 
containsProperty(String) - Method in interface cn.sliew.milky.common.environment.Environment
Return whether this PropertySource contains the given name.
containsProperty(String) - Method in class cn.sliew.milky.common.environment.MapPropertySource
 
containsProperty(String) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Whether the given property key is available.
containsProperty(String) - Method in interface cn.sliew.milky.common.environment.PropertySource
 
containsProperty(String) - Method in class cn.sliew.milky.common.environment.PropertySourcesPropertyResolver
 
containsPropertySource(String) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
 
containsPropertySource(String) - Method in interface cn.sliew.milky.common.environment.PropertySourceIterable
Whether a property source with the given name is contained.
context(Command) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
context(Command<K, V>) - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the context object of the specified Command in this pipeline.
context(Class) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
context(Class<? extends Command>) - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the context object of the Command of the specified type in this pipeline.
context(String) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
context(String) - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the context object of the Command with the specified name in this pipeline.
Context<K,​V> - Interface in cn.sliew.milky.common.chain
执行上下文,用来在不同的Command间传递信息。 Map后面可以考虑使用AttributeMap代替。
ContextMap<K,​V> - Class in cn.sliew.milky.common.chain
Convenience base class for Context implementations.
ContextMap() - Constructor for class cn.sliew.milky.common.chain.ContextMap
Creates a new, empty Context with a default initial capacity, load factor, and concurrencyLevel.
ContextMap(int) - Constructor for class cn.sliew.milky.common.chain.ContextMap
Creates a new, empty Context with the specified initial capacity, and with default load factor and concurrencyLevel
ContextMap(int, float, int) - Constructor for class cn.sliew.milky.common.chain.ContextMap
Creates a new, empty Context with the specified initial capacity, load factor, and concurrency level.
ContextMap(Logger) - Constructor for class cn.sliew.milky.common.chain.ContextMap
Creates a new, empty Context with a default initial capacity, load factor, and concurrencyLevel.
ContextMap(Map<? extends K, ? extends V>) - Constructor for class cn.sliew.milky.common.chain.ContextMap
Creates a new Context with the same mappings as the given map.
convertTo(T1, Class<T2>) - Static method in class cn.sliew.milky.common.primitives.Enums
 
cost() - Method in class cn.sliew.milky.common.explain.Explanation
The time cost.
cost(long) - Method in class cn.sliew.milky.common.explain.Explanation
 
count() - Method in class cn.sliew.milky.common.cache.local.Cache
The number of entries in the cache.
create() - Static method in class cn.sliew.milky.common.exception.ThrowableCollector
Factory method for ThrowableCollector instances creation.
createArrayNode() - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
createObjectNode() - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
createReference(ConcurrentReferenceHashMap.Entry<K, V>, int, ConcurrentReferenceHashMap.Reference<K, V>) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.ReferenceManager
Factory method used to create a new ConcurrentReferenceHashMap.Reference.
createReferenceManager() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Factory method that returns the ConcurrentReferenceHashMap.ReferenceManager.
createStarted() - Static method in enum cn.sliew.milky.common.stopwatch.StopWatchs
Creates (and starts) a new stopwatch using System.nanoTime() as its time source.
createStarted(Ticker) - Static method in enum cn.sliew.milky.common.stopwatch.StopWatchs
Creates (and starts) a new stopwatch, using the specified time source.
createUnstarted() - Static method in enum cn.sliew.milky.common.stopwatch.StopWatchs
Creates (but does not start) a new stopwatch using System.nanoTime() as its time source.
createUnstarted(Ticker) - Static method in enum cn.sliew.milky.common.stopwatch.StopWatchs
Creates (but does not start) a new stopwatch, using the specified time source.

D

data() - Method in interface cn.sliew.milky.common.state.StateEvent
Return information object of this StateEvent
days() - Method in class cn.sliew.milky.common.unit.TimeValue
 
daysFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
decode(String) - Method in interface cn.sliew.milky.common.path.PathTrie.Decoder
 
DEFAULT_DESCRIPTION - Static variable in class cn.sliew.milky.common.explain.Explanation
 
DEFAULT_NAME - Static variable in class cn.sliew.milky.common.explain.Explanation
 
DEFAULT_PAGE - Static variable in class cn.sliew.milky.common.model.param.AbstractPageParam
 
DEFAULT_SIZE - Static variable in class cn.sliew.milky.common.model.param.AbstractPageParam
 
DefaultAttributeMap - Class in cn.sliew.milky.common.constant
Default AttributeMap implementation which not exibit any blocking behaviour on attribute lookup while using a copy-on-write approach on the modify path.
DefaultAttributeMap() - Constructor for class cn.sliew.milky.common.constant.DefaultAttributeMap
 
DefaultFilterChain<Request,​Response> - Class in cn.sliew.milky.common.filter
 
DefaultFilterChain(List<ActionFilter<Request, Response>>, Logger) - Constructor for class cn.sliew.milky.common.filter.DefaultFilterChain
 
DefaultInterceptorContext<Request,​Response> - Class in cn.sliew.milky.common.interceptor
Interceptor will be registered by linked node chain and interception will be applied orderly.
DefaultInterceptorContext(Interceptor<Request, Response>, InterceptorContext<Request, Response>) - Constructor for class cn.sliew.milky.common.interceptor.DefaultInterceptorContext
 
DefaultPipeline<K,​V> - Class in cn.sliew.milky.common.chain
fixme 线程池组件出来后在添加任务自定义执行线程池的功能
DefaultPipeline() - Constructor for class cn.sliew.milky.common.chain.DefaultPipeline
todo final chain target,maybe not exists,need one invoker
DefaultTagSet - Class in cn.sliew.milky.common.constant
 
DefaultTagSet() - Constructor for class cn.sliew.milky.common.constant.DefaultTagSet
 
DefaultThreadWatchdog - Class in cn.sliew.milky.common.watchdog
 
defaultToString(Object) - Static method in class cn.sliew.milky.common.util.StringUtils
Convert the supplied Object to a default String representation using the following algorithm.
DelegatingActionListener<Response> - Class in cn.sliew.milky.common.filter
 
DelegatingActionListener(ActionListener<Response>) - Constructor for class cn.sliew.milky.common.filter.DelegatingActionListener
 
delete(String, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Delete all occurrences of the given substring.
deleteAny(String, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Delete any character in a given String.
deletes - Variable in class cn.sliew.milky.common.diff.MapDiff
 
delimitedListToStringArray(String, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Take a String which is a delimited list and convert it to a String array.
delimitedListToStringArray(String, String, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Take a String which is a delimited list and convert it to a String array.
DEMOTED_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
DequeRecycler<T> - Class in cn.sliew.milky.common.recycler
A Recycler implementation based on a Deque.
DequeRecycler(Source<T>, Deque<T>, int) - Constructor for class cn.sliew.milky.common.recycler.DequeRecycler
 
description() - Method in class cn.sliew.milky.common.explain.Explanation
A description of this explanation node.
description(String) - Method in class cn.sliew.milky.common.explain.Explanation
 
destroy(T) - Method in class cn.sliew.milky.common.recycler.AbstractSource
 
destroy(T) - Method in interface cn.sliew.milky.common.recycler.Source
Destroy the data.
details() - Method in class cn.sliew.milky.common.explain.Explanation
The sub-nodes of this explanation node.
diff(Map<K, T>, Map<K, T>) - Static method in class cn.sliew.milky.common.diff.JdkMapDiff
 
diff(T) - Method in class cn.sliew.milky.common.diff.AbstractDiffable
 
diff(T) - Method in interface cn.sliew.milky.common.diff.Diffable
Returns serializable object representing differences between this and previousState
Diff<T> - Interface in cn.sliew.milky.common.diff
Represents difference between states.
Diffable<T> - Interface in cn.sliew.milky.common.diff
States changes in which can be serialized
diffs - Variable in class cn.sliew.milky.common.diff.MapDiff
 
DisabledTicker - Enum in cn.sliew.milky.common.stopwatch
 
doCall() - Method in interface cn.sliew.milky.common.concurrent.CallableWrapper
This method has the same semantics as Runnable.run()
doInitialize() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
doRun() - Method in interface cn.sliew.milky.common.concurrent.RunnableWrapper
This method has the same semantics as Runnable.run()
doStart() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
doStop() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
doTask(int, Object, ConcurrentReferenceHashMap.Task<T>) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Segment
Apply an update operation to this segment.
Doubles - Class in cn.sliew.milky.common.primitives
 
duration() - Method in class cn.sliew.milky.common.unit.TimeValue
 

E

elapsed() - Method in class cn.sliew.milky.common.stopwatch.Stopwatch
Returns the current elapsed time shown on this stopwatch as a Duration.
empty() - Static method in class cn.sliew.milky.common.primitives.Strings
 
EMPTY - Static variable in interface cn.sliew.milky.common.interceptor.Interceptor
 
EMPTY_ARRAY - Static variable in class cn.sliew.milky.common.primitives.Strings
 
ENABLED - Static variable in class cn.sliew.milky.common.check.Assertions
 
Ensures - Enum in cn.sliew.milky.common.check
Static convenience methods that help a method or constructor check whether it was invoked correctly.
Entry(K, V) - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Entry
 
entryAction() - Method in interface cn.sliew.milky.common.state.State
Action that should be taken each time this state is entered
entrySet() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
Enums - Class in cn.sliew.milky.common.primitives
 
Environment - Interface in cn.sliew.milky.common.environment
 
equals(Object) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Entry
 
equals(Object) - Method in class cn.sliew.milky.common.collect.Tuple
 
equals(Object) - Method in class cn.sliew.milky.common.constant.AbstractConstant
 
equals(Object) - Method in class cn.sliew.milky.common.environment.AbstractPropertySource
 
equals(Object) - Method in class cn.sliew.milky.common.explain.Explanation
 
equals(Object) - Method in class cn.sliew.milky.common.parse.Token
 
equals(Object) - Method in class cn.sliew.milky.common.parse.TokenFormat.Segment
 
equals(Object) - Method in class cn.sliew.milky.common.unit.ByteValue
 
equals(Object) - Method in class cn.sliew.milky.common.unit.SizeValue
 
equals(Object) - Method in class cn.sliew.milky.common.unit.TimeValue
 
EVICTED - cn.sliew.milky.common.cache.local.RemovalNotification.RemovalReason
 
exceptionCaught(AbstractPipelineProcess<String, Object>, Context<String, Object>, CompletableFuture<?>, Throwable) - Method in class cn.sliew.milky.common.chain.LogCommand
 
exceptionCaught(AbstractPipelineProcess<K, V>, Context<K, V>, CompletableFuture<?>, Throwable) - Method in interface cn.sliew.milky.common.chain.Command
Gets called if a Throwable was thrown.
ExceptionFactory - Class in cn.sliew.milky.common.exception
 
execute() - Method in interface cn.sliew.milky.common.exception.ThrowableCollector.Executable
Execute this executable, potentially throwing a Throwable that signals abortion or failure.
execute() - Method in interface cn.sliew.milky.common.exception.ThrowableCollector.ExecutableWithResult
Execute this executable, potentially throwing a Throwable that signals abortion or failure.
execute(ThrowableCollector.Executable) - Method in class cn.sliew.milky.common.exception.ThrowableCollector
Execute the supplied ThrowableCollector.Executable and collect any Throwable thrown during the execution.
execute(ThrowableCollector.ExecutableWithResult<T>) - Method in class cn.sliew.milky.common.exception.ThrowableCollector
 
ExecuteContext - Class in cn.sliew.milky.common.context
Thread local context.
ExecuteContext() - Constructor for class cn.sliew.milky.common.context.ExecuteContext
 
executor() - Method in class cn.sliew.milky.common.chain.AbstractPipelineProcess
 
executor() - Method in interface cn.sliew.milky.common.chain.PipelineProcess
Returns the Executor which is used to execute an arbitrary task.
EXIST_DATA_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
exists(String) - Static method in class cn.sliew.milky.common.constant.AttributeKey
Returns true if a AttributeKey exists for the given name.
exists(String) - Method in class cn.sliew.milky.common.constant.ConstantPool
Returns true if a AttributeKey exists for the given name.
exists(String) - Static method in class cn.sliew.milky.common.constant.Tag
Returns true if a Tag exists for the given name.
exitAction() - Method in interface cn.sliew.milky.common.state.State
Action that should be taken each time this state is exited
explain() - Method in class cn.sliew.milky.common.context.ExecuteContext
 
explain() - Method in class cn.sliew.milky.common.model.param.AbstractParam
 
Explanation - Class in cn.sliew.milky.common.explain
Expert: Describes the .
Explanation() - Constructor for class cn.sliew.milky.common.explain.Explanation
 
Explanation(String) - Constructor for class cn.sliew.milky.common.explain.Explanation
 
Explanation(String, String) - Constructor for class cn.sliew.milky.common.explain.Explanation
 

F

failure(Throwable) - Static method in class cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleResult
 
FAILURE - cn.sliew.milky.common.exception.BizExceptionEnum
 
FALSE - Static variable in class cn.sliew.milky.common.primitives.Booleans
 
finalize() - Method in class cn.sliew.milky.common.timewheel.HashedWheelTimer
 
find(NameIterator) - Method in class cn.sliew.milky.common.path.KeyMap
 
find(Iterable<String>) - Method in class cn.sliew.milky.common.path.KeyMap
 
find(String) - Method in class cn.sliew.milky.common.path.KeyMap
 
find(Iterator<String>) - Method in class cn.sliew.milky.common.path.KeyMap
 
findOrAdd(NameIterator) - Method in class cn.sliew.milky.common.path.KeyMap
 
findOrAdd(Iterable<String>) - Method in class cn.sliew.milky.common.path.KeyMap
 
findOrAdd(String) - Method in class cn.sliew.milky.common.path.KeyMap
 
findOrAdd(String...) - Method in class cn.sliew.milky.common.path.KeyMap
 
findOrAdd(String[], int, int) - Method in class cn.sliew.milky.common.path.KeyMap
 
findOrAdd(Iterator<String>) - Method in class cn.sliew.milky.common.path.KeyMap
 
findParameterizedTypes(Class<?>) - Static method in class cn.sliew.milky.common.util.ReflectUtil
findRootValue(NameIterator) - Method in class cn.sliew.milky.common.path.KeyMap
 
findRootValue(String) - Method in class cn.sliew.milky.common.path.KeyMap
 
fireEvent(Context<K, V>, CompletableFuture<?>) - Method in class cn.sliew.milky.common.chain.AbstractPipelineProcess
 
fireEvent(Context<K, V>, CompletableFuture<?>) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
fireEvent(Context<K, V>, CompletableFuture<?>) - Method in interface cn.sliew.milky.common.chain.Pipeline
 
fireEvent(Context<K, V>, CompletableFuture<?>) - Method in interface cn.sliew.milky.common.chain.PipelineProcess
 
fireExceptionCaught(Context<K, V>, Throwable, CompletableFuture<?>) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
fireExceptionCaught(Context<K, V>, Throwable, CompletableFuture<?>) - Method in interface cn.sliew.milky.common.chain.Pipeline
 
fireExceptionCaught(Context<K, V>, CompletableFuture<?>, Throwable) - Method in class cn.sliew.milky.common.chain.AbstractPipelineProcess
 
fireExceptionCaught(Context<K, V>, CompletableFuture<?>, Throwable) - Method in interface cn.sliew.milky.common.chain.PipelineProcess
A Command received an Throwable in one of its operations.
first() - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
first() - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the first Command in this pipeline.
firstContext() - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
firstContext() - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the context of the first Command in this pipeline.
Floats - Class in cn.sliew.milky.common.primitives
 
flush() - Method in class cn.sliew.milky.common.io.stream.OutputStreamStreamOutput
 
flush() - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Forces any buffered output to be written.
format1Decimals(double, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Format the double value with a single decimal points, trimming trailing '.0'.
formatStackTrace(Iterable<StackTraceElement>) - Method in class cn.sliew.milky.common.exception.ThrowableTraceFormater
 
formatStackTrace(StackTraceElement[]) - Method in class cn.sliew.milky.common.exception.ThrowableTraceFormater
 
formatStackTrace(StringBuilder, Iterable<StackTraceElement>) - Method in class cn.sliew.milky.common.exception.ThrowableTraceFormater
Format a list of stack entries into a string.
formatStackTrace(StringBuilder, StackTraceElement[]) - Method in class cn.sliew.milky.common.exception.ThrowableTraceFormater
Format a list of stack entries into a string.
formatThrowable(StringBuilder, Throwable) - Method in class cn.sliew.milky.common.exception.ThrowableTraceFormater
Format an exception and all of its nested stacks into a string.
formatThrowable(Throwable) - Method in class cn.sliew.milky.common.exception.ThrowableTraceFormater
Format an exception and all of its nested stacks into a string.
fromOrdinal(int) - Static method in enum cn.sliew.milky.common.unit.ByteUnit
 
FUSED_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 

G

GB - cn.sliew.milky.common.unit.ByteUnit
 
get() - Method in interface cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Reference
Return the referenced entry, or null if the entry is no longer available.
get() - Method in class cn.sliew.milky.common.collect.SetOnce
Returns the object set by SetOnce.set(Object).
get() - Method in interface cn.sliew.milky.common.constant.Attribute
Returns the current value, which may be null
get() - Method in interface cn.sliew.milky.common.function.CheckedSupplier
 
get(Class) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
get(Class<T>) - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the Command of the specified type in this pipeline.
get(Object) - Method in class cn.sliew.milky.common.cache.lru.LRUCache
 
get(Object) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
get(String) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
get(String) - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the Command with the specified name in this pipeline.
get(String, int, int) - Method in class cn.sliew.milky.common.path.KeyMap
 
get(K) - Method in class cn.sliew.milky.common.cache.lfu.LFUCache
 
get(K) - Method in class cn.sliew.milky.common.cache.local.Cache
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
getAllPreviousSegments() - Method in class cn.sliew.milky.common.path.NameIterator
 
getAllPreviousSegmentsWith(String) - Method in class cn.sliew.milky.common.path.NameIterator
 
getAllPropertyNames() - Method in class cn.sliew.milky.common.environment.MapPropertySource
 
getAllPropertyNames() - Method in interface cn.sliew.milky.common.environment.PropertySource
 
getAndSet(T) - Method in interface cn.sliew.milky.common.constant.Attribute
Atomically sets to the given value and returns the old value which may be null if non was set before.
getAny() - Method in class cn.sliew.milky.common.path.KeyMap
 
getAttachment(String) - Method in class cn.sliew.milky.common.context.ExecuteContext
get attachment.
getAttachments() - Method in class cn.sliew.milky.common.context.ExecuteContext
get attachments.
getBytes() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getCapacity() - Method in class cn.sliew.milky.common.cache.lfu.LFUCache
 
getClassLoader() - Static method in class cn.sliew.milky.common.util.ClassUtil
Return the default ClassLoader to use: typically the thread context ClassLoader, if available; the ClassLoader that loaded the ClassUtils class will be used as fallback.
getClassLoader(Class<?>) - Static method in class cn.sliew.milky.common.util.ClassUtil
get class loader
getCode() - Method in exception cn.sliew.milky.common.exception.BizException
 
getCode() - Method in enum cn.sliew.milky.common.exception.BizExceptionEnum
 
getContext() - Method in exception cn.sliew.milky.common.chain.PipelineException
 
getContext() - Static method in class cn.sliew.milky.common.context.ExecuteContext
 
getCount() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Segment
Return the total number of references in this segment.
getDays() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getDaysFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getDeletes() - Method in class cn.sliew.milky.common.diff.MapDiff
The keys that, when this diff is applied to a map, should be removed from the map.
getDiffs() - Method in class cn.sliew.milky.common.diff.MapDiff
Map entries that, when this diff is applied to a map, should be incrementally updated.
getEvictions() - Method in class cn.sliew.milky.common.cache.local.Cache.CacheStats
 
getFailedCommand() - Method in exception cn.sliew.milky.common.chain.PipelineException
 
getFrom() - Method in class cn.sliew.milky.common.model.param.AbstractPageParam
 
getGb() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getGbFrac() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getGiga() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getGigaFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getHash() - Method in interface cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Reference
Return the hash for the reference.
getHash(Object) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Get the hash for a given object, apply an additional hash function to reduce collisions.
getHits() - Method in class cn.sliew.milky.common.cache.local.Cache.CacheStats
 
getHours() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getHoursFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getKb() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getKbFrac() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getKey() - Method in class cn.sliew.milky.common.cache.local.RemovalNotification
 
getKey() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Entry
 
getKilo() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getKiloFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getLastSegment() - Method in class cn.sliew.milky.common.parse.Token
Get the last TokenFormat.Segment of this Token.
getLoadFactor() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
getMapper() - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
getMaxCapacity() - Method in class cn.sliew.milky.common.cache.lru.LRUCache
 
getMb() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getMbFrac() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getMega() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getMegaFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getMessage() - Method in enum cn.sliew.milky.common.exception.BizExceptionEnum
 
getMicros() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getMicrosFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getMillis() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getMillisFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getMinutes() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getMinutesFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getMisses() - Method in class cn.sliew.milky.common.cache.local.Cache.CacheStats
 
getName() - Method in class cn.sliew.milky.common.environment.AbstractPropertySource
 
getName() - Method in interface cn.sliew.milky.common.environment.PropertySource
 
getName() - Method in class cn.sliew.milky.common.path.NameIterator
 
getNanos() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getNext() - Method in interface cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Reference
Return the next reference in the chain, or null if none.
getNextEnd() - Method in class cn.sliew.milky.common.path.NameIterator
 
getNextSegment() - Method in class cn.sliew.milky.common.path.NameIterator
 
getOrComputeRootValue(Supplier<V>) - Method in class cn.sliew.milky.common.path.KeyMap
 
getOrCreateAny() - Method in class cn.sliew.milky.common.path.KeyMap
 
getOrDefault(Object, V) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
getPage() - Method in class cn.sliew.milky.common.model.param.AbstractPageParam
 
getPb() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getPbFrac() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getPeta() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getPetaFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getPosition() - Method in class cn.sliew.milky.common.path.NameIterator
Get the cursor position.
getPreviousSegment() - Method in class cn.sliew.milky.common.path.NameIterator
 
getPreviousStart() - Method in class cn.sliew.milky.common.path.NameIterator
 
getProperty(String) - Method in interface cn.sliew.milky.common.environment.Environment
Return the value associated with the given name, or null if not found.
getProperty(String) - Method in class cn.sliew.milky.common.environment.MapPropertySource
 
getProperty(String) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Find the property value associated with the given key.
getProperty(String) - Method in interface cn.sliew.milky.common.environment.PropertySource
 
getProperty(String) - Method in class cn.sliew.milky.common.environment.PropertySourcesPropertyResolver
 
getProperty(String, String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
getProperty(String, String) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Find the property value associated with the given key.
getProperty(String, Function<R, T>) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Find the property value associated with the given key.
getProperty(String, Function<R, T>) - Method in class cn.sliew.milky.common.environment.PropertySourcesPropertyResolver
 
getProperty(String, Function<R, T>, boolean) - Method in class cn.sliew.milky.common.environment.PropertySourcesPropertyResolver
 
getProperty(String, Function<R, T>, T) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
getProperty(String, Function<R, T>, T) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Find the property value associated with the given key.
getPropertyAsRawString(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
Retrieve the specified property as a raw String, i.e.
getPropertyAsRawString(String) - Method in class cn.sliew.milky.common.environment.PropertySourcesPropertyResolver
 
getPropertySource(String) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
 
getPropertySource(String) - Method in interface cn.sliew.milky.common.environment.PropertySourceIterable
Find the property source with the given name, Optional.empty() if not found.
getReference(Object, int, ConcurrentReferenceHashMap.Restructure) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Segment
 
getReference(Object, ConcurrentReferenceHashMap.Restructure) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Return a ConcurrentReferenceHashMap.Reference to the ConcurrentReferenceHashMap.Entry for the specified key, or null if not found.
getRemovalReason() - Method in class cn.sliew.milky.common.cache.local.RemovalNotification
 
getRequiredProperty(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
getRequiredProperty(String) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Find the property value associated with the given key (never null).
getRequiredProperty(String, Function<R, T>) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
getRequiredProperty(String, Function<R, T>) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Find the property value associated with the given key (never null).
getRootValue() - Method in class cn.sliew.milky.common.path.KeyMap
 
getRootValueOrDefault(V) - Method in class cn.sliew.milky.common.path.KeyMap
 
getSeconds() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getSecondsFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getSegment(int) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
getSegments() - Method in class cn.sliew.milky.common.parse.Token
Get the immutable list of segments that make up this Token.
getSegmentsSize() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
getSingles() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getSize() - Method in class cn.sliew.milky.common.cache.lfu.LFUCache
Returns cache current size.
getSize() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Segment
Return the size of the current references array.
getSize() - Method in class cn.sliew.milky.common.model.param.AbstractPageParam
 
getSource() - Method in class cn.sliew.milky.common.environment.AbstractPropertySource
 
getSource() - Method in interface cn.sliew.milky.common.environment.PropertySource
 
getState() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
getState() - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
Gets the life-cycle state.
getStringRep() - Method in class cn.sliew.milky.common.unit.TimeValue
 
getSuffix() - Method in enum cn.sliew.milky.common.unit.ByteUnit
 
getTb() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getTbFrac() - Method in class cn.sliew.milky.common.unit.ByteValue
 
getTera() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getTeraFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 
getThrowable() - Method in class cn.sliew.milky.common.exception.ThrowableCollector
Get the first Throwable collected by this ThrowableCollector.
getThrowable() - Method in class cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleResult
 
getType() - Method in class cn.sliew.milky.common.parse.TokenFormat.Segment
Get the type of this segment.
getUpserts() - Method in class cn.sliew.milky.common.diff.MapDiff
Map entries that, when this diff is applied to a map, should be added to the map or fully replace the previous value.
getValue() - Method in class cn.sliew.milky.common.cache.local.RemovalNotification
 
getValue() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Entry
 
getValue() - Method in class cn.sliew.milky.common.parse.TokenFormat.Segment
Get the value of this segment.
giga() - Method in class cn.sliew.milky.common.unit.SizeValue
 
GIGA - cn.sliew.milky.common.unit.SizeUnit
 
gigaFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 
goToEnd() - Method in class cn.sliew.milky.common.path.NameIterator
 
goToStart() - Method in class cn.sliew.milky.common.path.NameIterator
 

H

handleEvent(StateEvent) - Method in interface cn.sliew.milky.common.state.StateMachine
Handle an event in the current state.
hasAttr(AttributeKey<T>) - Method in interface cn.sliew.milky.common.constant.AttributeMap
Returns true if and only if the given Attribute exists in this AttributeMap.
hasAttr(AttributeKey<T>) - Method in class cn.sliew.milky.common.constant.DefaultAttributeMap
 
hashCode() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Entry
 
hashCode() - Method in class cn.sliew.milky.common.collect.Tuple
 
hashCode() - Method in class cn.sliew.milky.common.constant.AbstractConstant
 
hashCode() - Method in class cn.sliew.milky.common.environment.AbstractPropertySource
 
hashCode() - Method in class cn.sliew.milky.common.explain.Explanation
 
hashCode() - Method in class cn.sliew.milky.common.parse.Token
 
hashCode() - Method in class cn.sliew.milky.common.parse.TokenFormat.Segment
 
hashCode() - Method in class cn.sliew.milky.common.unit.ByteValue
 
hashCode() - Method in class cn.sliew.milky.common.unit.SizeValue
 
hashCode() - Method in class cn.sliew.milky.common.unit.TimeValue
 
HashedWheelTimer - Class in cn.sliew.milky.common.timewheel
A Timer optimized for approximated I/O timeout scheduling.
HashedWheelTimer() - Constructor for class cn.sliew.milky.common.timewheel.HashedWheelTimer
Creates a new timer with the default thread factory (Executors.defaultThreadFactory()), default tick duration, and default number of ticks per wheel.
HashedWheelTimer(long, TimeUnit) - Constructor for class cn.sliew.milky.common.timewheel.HashedWheelTimer
Creates a new timer with the default thread factory (Executors.defaultThreadFactory()) and default number of ticks per wheel.
HashedWheelTimer(long, TimeUnit, int) - Constructor for class cn.sliew.milky.common.timewheel.HashedWheelTimer
Creates a new timer with the default thread factory (Executors.defaultThreadFactory()).
HashedWheelTimer(ThreadFactory) - Constructor for class cn.sliew.milky.common.timewheel.HashedWheelTimer
Creates a new timer with the default tick duration and default number of ticks per wheel.
HashedWheelTimer(ThreadFactory, long, TimeUnit) - Constructor for class cn.sliew.milky.common.timewheel.HashedWheelTimer
Creates a new timer with the default number of ticks per wheel.
HashedWheelTimer(ThreadFactory, long, TimeUnit, int) - Constructor for class cn.sliew.milky.common.timewheel.HashedWheelTimer
Creates a new timer.
HashedWheelTimer(ThreadFactory, long, TimeUnit, int, long) - Constructor for class cn.sliew.milky.common.timewheel.HashedWheelTimer
Creates a new timer.
HASHTABLE_RAM_BYTES_PER_ENTRY - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
Approximate memory usage that we assign to a Hashtable / HashMap entry.
hasLength(CharSequence) - Static method in class cn.sliew.milky.common.primitives.Strings
Check that the given CharSequence is neither null nor of length 0.
hasLength(String) - Static method in class cn.sliew.milky.common.primitives.Strings
Check that the given String is neither null nor of length 0.
hasNext() - Method in class cn.sliew.milky.common.path.NameIterator
 
hasPrefix(Token) - Method in class cn.sliew.milky.common.parse.Token
Determine if the supplied Token is a prefix for this Token.
hasPrevious() - Method in class cn.sliew.milky.common.path.NameIterator
 
hasRootValue() - Method in class cn.sliew.milky.common.path.KeyMap
 
hasRootValue(NameIterator) - Method in class cn.sliew.milky.common.path.KeyMap
 
hasRootValue(String) - Method in class cn.sliew.milky.common.path.KeyMap
 
hasTag(Tag) - Method in class cn.sliew.milky.common.constant.DefaultTagSet
 
hasTag(Tag) - Method in interface cn.sliew.milky.common.constant.TagSet
 
hasText(CharSequence) - Static method in class cn.sliew.milky.common.primitives.Strings
Check whether the given CharSequence has actual text.
hasText(String) - Static method in class cn.sliew.milky.common.primitives.Strings
Check whether the given String has actual text.
hours() - Method in class cn.sliew.milky.common.unit.TimeValue
 
hoursFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
HTTP_INVOKE_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
humanReadableUnits(long) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns size in human-readable units (GB, MB, KB or bytes).
humanReadableUnits(long, DecimalFormat) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns size in human-readable units (GB, MB, KB or bytes).

I

id() - Method in class cn.sliew.milky.common.constant.AbstractConstant
 
id() - Method in interface cn.sliew.milky.common.constant.Constant
返回分配给当前Constant的唯一数字。
initialize() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
initialize() - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
INITIALIZED - cn.sliew.milky.common.lifecycle.LifeCycle.State
Initialized but not yet started.
INITIALIZING - cn.sliew.milky.common.lifecycle.LifeCycle.State
Object is in its initial state and not yet initialized.
InputStreamStreamInput - Class in cn.sliew.milky.common.io.stream
 
InputStreamStreamInput(InputStream) - Constructor for class cn.sliew.milky.common.io.stream.InputStreamStreamInput
Creates a new InputStreamStreamInput with unlimited size
insert(String[], int, T) - Method in class cn.sliew.milky.common.path.PathTrie.TrieNode
 
insert(String, T) - Method in class cn.sliew.milky.common.path.PathTrie
 
insertOrUpdate(String[], int, T, BiFunction<T, T, T>) - Method in class cn.sliew.milky.common.path.PathTrie.TrieNode
 
insertOrUpdate(String, T, BiFunction<T, T, T>) - Method in class cn.sliew.milky.common.path.PathTrie
Insert a value for the given path.
INSTANCE - cn.sliew.milky.common.stopwatch.DisabledTicker
 
INSTANCE - cn.sliew.milky.common.stopwatch.SystemTicker
 
Integers - Class in cn.sliew.milky.common.primitives
 
intercept(Request, InterceptorContext<Request, Response>) - Method in interface cn.sliew.milky.common.interceptor.Interceptor
Intercept the invocation and return the corresponding response or a custom response built by the interceptor.
Interceptor<Request,​Response> - Interface in cn.sliew.milky.common.interceptor
The Interceptor allows to intercept the invocation.
InterceptorContext<Reuqest,​Response> - Interface in cn.sliew.milky.common.interceptor
Exposes contextual information about the intercepted invocation of Interceptor.
INVALID_DATA_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
INVALID_FORMAT_DATA_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
INVALID_PARAM_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
invalidate(K) - Method in class cn.sliew.milky.common.cache.local.Cache
Invalidate the association for the specified key.
invalidate(K, V) - Method in class cn.sliew.milky.common.cache.local.Cache
Invalidate the entry for the specified key and value.
invalidateAll() - Method in class cn.sliew.milky.common.cache.local.Cache
Invalidate all cache entries.
INVALIDATED - cn.sliew.milky.common.cache.local.RemovalNotification.RemovalReason
 
isBlank(String) - Static method in class cn.sliew.milky.common.util.StringUtils
Determine if the supplied String is blank (i.e., null or consisting only of whitespace characters).
isBoolean(char[], int, int) - Static method in class cn.sliew.milky.common.primitives.Booleans
returns true iff the sequence of chars is one of "true","false".
isBoolean(String) - Static method in class cn.sliew.milky.common.primitives.Booleans
 
isCancelled() - Method in interface cn.sliew.milky.common.timewheel.Timeout
Returns true if and only if the TimerTask associated with this handle has been cancelled.
isEmpty() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
isEmpty(CharSequence) - Static method in class cn.sliew.milky.common.primitives.Strings
Check that the given CharSequence is either null or of length 0.
isExpired() - Method in interface cn.sliew.milky.common.timewheel.Timeout
Returns true if and only if the TimerTask associated with this handle has been expired.
isFalse(String) - Static method in class cn.sliew.milky.common.primitives.Booleans
 
isHeldByCurrentThread() - Method in class cn.sliew.milky.common.concurrent.ReleasableLock
 
isNotBlank(String) - Static method in class cn.sliew.milky.common.util.StringUtils
Determine if the supplied String is not blank.
isNullOrEmpty(String) - Static method in class cn.sliew.milky.common.primitives.Strings
 
isRecycled() - Method in class cn.sliew.milky.common.recycler.NoneRecycler.NoneValue
 
isRecycled() - Method in interface cn.sliew.milky.common.recycler.Value
 
isRetryable() - Method in exception cn.sliew.milky.common.exception.BizException
 
isRetryable() - Method in enum cn.sliew.milky.common.exception.BizExceptionEnum
 
isRunning() - Method in class cn.sliew.milky.common.stopwatch.Stopwatch
Returns true if Stopwatch.start() has been called on this stopwatch, and Stopwatch.stop() has not been called since the last call to start().
isStarted() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
isStarted() - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
isStop() - Method in class cn.sliew.milky.common.timewheel.HashedWheelTimer
 
isStop() - Method in interface cn.sliew.milky.common.timewheel.Timer
the timer is stop
isStopped() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
isStopped() - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
isSuccess() - Method in class cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleResult
 
isTrue(String) - Static method in class cn.sliew.milky.common.primitives.Booleans
 
iterator() - Method in class cn.sliew.milky.common.environment.MutablePropertySources
 

J

JacksonUtil - Class in cn.sliew.milky.common.util
jackson utility class.
JdkMapDiff<K,​T> - Class in cn.sliew.milky.common.diff
Represents differences between two Maps of (possibly diffable) objects.
JdkMapDiff(Map<K, T>, Map<K, T>) - Constructor for class cn.sliew.milky.common.diff.JdkMapDiff
 
JRE_IS_64BIT - Static variable in class cn.sliew.milky.common.util.Constants
True iff running on a 64bit JVM

K

KB - cn.sliew.milky.common.unit.ByteUnit
 
key() - Method in interface cn.sliew.milky.common.constant.Attribute
Returns the key of this attribute.
KeyMap<V> - Class in cn.sliew.milky.common.path
A multi-level key map.
KeyMap() - Constructor for class cn.sliew.milky.common.path.KeyMap
 
KeyMap(int) - Constructor for class cn.sliew.milky.common.path.KeyMap
 
KeyMap(int, float) - Constructor for class cn.sliew.milky.common.path.KeyMap
 
keys() - Method in class cn.sliew.milky.common.cache.local.Cache
An LRU sequencing of the keys in the cache that supports removal.
kilo() - Method in class cn.sliew.milky.common.unit.SizeValue
 
KILO - cn.sliew.milky.common.unit.SizeUnit
 
kiloFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 

L

last() - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
last() - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the last Command in this pipeline.
lastContext() - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
lastContext() - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the context of the last Command in this pipeline.
LFUCache<K,​V> - Class in cn.sliew.milky.common.cache.lfu
 
LFUCache() - Constructor for class cn.sliew.milky.common.cache.lfu.LFUCache
 
LFUCache(int, float) - Constructor for class cn.sliew.milky.common.cache.lfu.LFUCache
Constructs and initializes cache with specified capacity and eviction factor.
LifeCycle - Interface in cn.sliew.milky.common.lifecycle
Life cycle component, which useful for handle component initialize, start and stop.
LifeCycle.LifeCycleResult - Class in cn.sliew.milky.common.lifecycle
 
LifeCycle.LifeCycleSupportResult - Class in cn.sliew.milky.common.lifecycle
 
LifeCycle.State - Enum in cn.sliew.milky.common.lifecycle
Status of a life cycle.
LifeCycleListener<T extends LifeCycle> - Interface in cn.sliew.milky.common.lifecycle
LifeCycle listener.
LIMITED_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
LINKED_HASHTABLE_RAM_BYTES_PER_ENTRY - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
Approximate memory usage that we assign to a LinkedHashMap entry.
load(K) - Method in interface cn.sliew.milky.common.cache.local.CacheLoader
 
log - Variable in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
log - Variable in class cn.sliew.milky.common.environment.AbstractPropertySource
 
LogCommand - Class in cn.sliew.milky.common.chain
 
LogCommand(Logger) - Constructor for class cn.sliew.milky.common.chain.LogCommand
 
logger - Variable in class cn.sliew.milky.common.chain.ContextMap
 
logger() - Method in interface cn.sliew.milky.common.chain.Context
This method provider a Logger utililies for user can't construct a logger or try to log pipeline context message to one logger file.
logger() - Method in class cn.sliew.milky.common.chain.ContextMap
 
logKeyFound(String, PropertySource<?>, Object) - Method in class cn.sliew.milky.common.environment.PropertySourcesPropertyResolver
Log the given key as found in the given PropertySource, resulting in the given value.
Longs - Class in cn.sliew.milky.common.primitives
 
LRUCache<K,​V> - Class in cn.sliew.milky.common.cache.lru
最常见的缓存实现方式,缺点是缺少缓存过期功能 dubbo的实现添加了并发访问的功能
LRUCache() - Constructor for class cn.sliew.milky.common.cache.lru.LRUCache
 
LRUCache(int) - Constructor for class cn.sliew.milky.common.cache.lru.LRUCache
 

M

main(String[]) - Static method in class cn.sliew.milky.common.version.SemVersion
 
map(Function<V, V2>) - Method in class cn.sliew.milky.common.path.KeyMap
 
map(P, BiFunction<P, V, V2>) - Method in class cn.sliew.milky.common.path.KeyMap
 
MapDiff<K,​T,​M> - Class in cn.sliew.milky.common.diff
Represents differences between two maps of objects and is used as base class for different map implementations.
MapDiff() - Constructor for class cn.sliew.milky.common.diff.MapDiff
 
MapDiff(List<K>, Map<K, Diff<T>>, Map<K, T>) - Constructor for class cn.sliew.milky.common.diff.MapDiff
 
MapPropertySource - Class in cn.sliew.milky.common.environment
 
MapPropertySource(String, Map<String, Object>) - Constructor for class cn.sliew.milky.common.environment.MapPropertySource
 
MAX_ARRAY_LENGTH - Static variable in class cn.sliew.milky.common.util.ArrayUtil
Maximum length for an array (Integer.MAX_VALUE - RamUsageEstimator.NUM_BYTES_ARRAY_HEADER).
MAX_DEPTH - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
Recurse only into immediate descendants.
MAX_LENGTH - Static variable in class cn.sliew.milky.common.path.NameIterator
Configuration key maximum allowed length.
MAX_PAGE - Static variable in class cn.sliew.milky.common.model.param.AbstractPageParam
 
MAX_SIZE - Static variable in class cn.sliew.milky.common.model.param.AbstractPageParam
 
maxExecutionTimeInMillis() - Method in class cn.sliew.milky.common.watchdog.DefaultThreadWatchdog
 
maxExecutionTimeInMillis() - Method in class cn.sliew.milky.common.watchdog.Noop
 
maxExecutionTimeInMillis() - Method in interface cn.sliew.milky.common.watchdog.ThreadWatchdog
 
MB - cn.sliew.milky.common.unit.ByteUnit
 
mega() - Method in class cn.sliew.milky.common.unit.SizeValue
 
MEGA - cn.sliew.milky.common.unit.SizeUnit
 
megaFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 
merge(JsonNode, JsonNode) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
merge(T, T, Class<T>) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
micros() - Method in class cn.sliew.milky.common.unit.TimeValue
 
microsFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
millis() - Method in class cn.sliew.milky.common.unit.TimeValue
 
millisFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
MINUS_ONE - Static variable in class cn.sliew.milky.common.unit.TimeValue
 
minutes() - Method in class cn.sliew.milky.common.unit.TimeValue
 
minutesFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
MutablePropertySources - Class in cn.sliew.milky.common.environment
The default implementation of the PropertySourceIterable interface.
MutablePropertySources() - Constructor for class cn.sliew.milky.common.environment.MutablePropertySources
Create a new MutablePropertySources object.
MutablePropertySources(PropertySourceIterable) - Constructor for class cn.sliew.milky.common.environment.MutablePropertySources
Create a new MutablePropertySources from the given propertySources object, preserving the original order of contained PropertySource objects.

N

name - Variable in class cn.sliew.milky.common.environment.AbstractPropertySource
 
name() - Method in class cn.sliew.milky.common.chain.AbstractPipelineProcess
 
name() - Method in interface cn.sliew.milky.common.chain.PipelineProcess
The unique name of the Command.The name was used when then Command was added to the Pipeline.
name() - Method in class cn.sliew.milky.common.constant.AbstractConstant
 
name() - Method in interface cn.sliew.milky.common.constant.Constant
返回当前Constant的名字(name)。
name() - Method in class cn.sliew.milky.common.explain.Explanation
A name of this explanation node.
name(String) - Method in class cn.sliew.milky.common.explain.Explanation
 
NAME - Static variable in class cn.sliew.milky.common.chain.LogCommand
 
NameIterator - Class in cn.sliew.milky.common.path
An iterator for property name strings.
NameIterator(String) - Constructor for class cn.sliew.milky.common.path.NameIterator
 
NameIterator(String, boolean) - Constructor for class cn.sliew.milky.common.path.NameIterator
 
NameIterator(String, int) - Constructor for class cn.sliew.milky.common.path.NameIterator
 
names() - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
names() - Method in interface cn.sliew.milky.common.chain.Pipeline
Returns the List of the command names.
nanos() - Method in class cn.sliew.milky.common.unit.TimeValue
 
NEVER - cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Restructure
 
newConstant(int, String) - Method in class cn.sliew.milky.common.constant.ConstantPool
 
newInstance() - Method in class cn.sliew.milky.common.recycler.AbstractSource
 
newInstance() - Method in interface cn.sliew.milky.common.recycler.Source
Create a new empty instance of the given size.
newInstance(long, long, LongSupplier, BiFunction<Long, Runnable, ScheduledFuture<?>>) - Method in enum cn.sliew.milky.common.watchdog.ThreadWatchdogs
Returns an implementation that checks for each fixed interval if there are threads that have invoked ThreadWatchdog.register() and not ThreadWatchdog.unregister() and have been in this state for longer than the specified max execution interval and then interrupts these threads.
newInstance(String) - Static method in class cn.sliew.milky.common.constant.AttributeKey
Creates a new AttributeKey for the given name or fail with an IllegalArgumentException if a AttributeKey for the given name exists.
newInstance(String) - Method in class cn.sliew.milky.common.constant.ConstantPool
Creates a new Constant for the given name or fail with an IllegalArgumentException if a Constant for the given name exists.
newInstance(String) - Static method in class cn.sliew.milky.common.constant.Tag
Creates a new Tag for the given name or fail with an IllegalArgumentException if a Tag for the given name exists.
newTimeout(TimerTask, long, TimeUnit) - Method in class cn.sliew.milky.common.timewheel.HashedWheelTimer
 
newTimeout(TimerTask, long, TimeUnit) - Method in interface cn.sliew.milky.common.timewheel.Timer
Schedules the specified TimerTask for one-time execution after the specified delay.
next() - Method in class cn.sliew.milky.common.path.NameIterator
 
nextId() - Method in class cn.sliew.milky.common.constant.ConstantPool
Deprecated.
nextSegmentEquals(String) - Method in class cn.sliew.milky.common.path.NameIterator
 
nextSegmentEquals(String, int, int) - Method in class cn.sliew.milky.common.path.NameIterator
 
NoneRecycler<T> - Class in cn.sliew.milky.common.recycler
 
NoneRecycler(Source<T>) - Constructor for class cn.sliew.milky.common.recycler.NoneRecycler
 
NoneRecycler.NoneValue<T> - Class in cn.sliew.milky.common.recycler
 
noop() - Method in enum cn.sliew.milky.common.watchdog.ThreadWatchdogs
 
Noop - Class in cn.sliew.milky.common.watchdog
 
Noop() - Constructor for class cn.sliew.milky.common.watchdog.Noop
 
NOT_FOUND_DATA_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
notBlank(String) - Static method in enum cn.sliew.milky.common.check.Ensures
Assert that the supplied String is not blank.
notBlank(String, Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Ensures
Assert that the supplied String is not blank.
notEmpty(T) - Static method in enum cn.sliew.milky.common.check.Ensures
Assert that the supplied Collection is neither null nor empty.
notEmpty(T[]) - Static method in enum cn.sliew.milky.common.check.Ensures
Assert that the supplied array is neither null nor empty.
notEmpty(T[], Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Ensures
Assert that the supplied array is neither null nor empty.
notEmpty(T, Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Ensures
Assert that the supplied Collection is neither null nor empty.
now() - Method in class cn.sliew.milky.common.cache.local.Cache
The relative time used to track time-based evictions.
NSEC_PER_MSEC - Static variable in class cn.sliew.milky.common.unit.TimeValue
How many nano-seconds in one milli-second
nsecToMSec(long) - Static method in class cn.sliew.milky.common.unit.TimeValue
 
nullSafeEquals(Object, Object) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Determine if the given objects are equal, returning true if both are null or false if only one is null.
nullSafeHashCode(boolean[]) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return a hash code based on the contents of the specified array.
nullSafeHashCode(byte[]) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return a hash code based on the contents of the specified array.
nullSafeHashCode(char[]) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return a hash code based on the contents of the specified array.
nullSafeHashCode(double[]) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return a hash code based on the contents of the specified array.
nullSafeHashCode(float[]) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return a hash code based on the contents of the specified array.
nullSafeHashCode(int[]) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return a hash code based on the contents of the specified array.
nullSafeHashCode(long[]) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return a hash code based on the contents of the specified array.
nullSafeHashCode(short[]) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return a hash code based on the contents of the specified array.
nullSafeHashCode(Object) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return as hash code for the given object; typically the value of Object#hashCode()}.
nullSafeHashCode(Object[]) - Static method in class cn.sliew.milky.common.util.ObjectUtil
Return a hash code based on the contents of the specified array.
nullSafeToString(Class<?>) - Static method in class cn.sliew.milky.common.util.ClassUtil
Get the fully qualified name of the supplied class.
nullSafeToString(Class<?>...) - Static method in class cn.sliew.milky.common.util.ClassUtil
Generate a comma-separated list of fully qualified class names for the supplied classes.
nullSafeToString(Object) - Static method in class cn.sliew.milky.common.util.StringUtils
Convert the supplied Object to a String using the following algorithm.
nullSafeToString(Function<? super Class<?>, ? extends String>, Class<?>...) - Static method in class cn.sliew.milky.common.util.ClassUtil
Generate a comma-separated list of mapped values for the supplied classes.
NUM_BYTES_ARRAY_HEADER - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
Number of bytes to represent an array header (no content, but with alignments).
NUM_BYTES_OBJECT_ALIGNMENT - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
A constant specifying the object alignment boundary inside the JVM.
NUM_BYTES_OBJECT_HEADER - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
Number of bytes to represent an object header (no fields, no alignments).
NUM_BYTES_OBJECT_REF - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
Number of bytes this JVM uses to represent an object reference.
NUMBER_OF_SEGMENTS - Static variable in class cn.sliew.milky.common.cache.local.Cache
 

O

ObjectUtil - Class in cn.sliew.milky.common.util
 
obtain() - Method in class cn.sliew.milky.common.recycler.ConcurrentDequeRecycler
 
obtain() - Method in class cn.sliew.milky.common.recycler.DequeRecycler
 
obtain() - Method in class cn.sliew.milky.common.recycler.NoneRecycler
 
obtain() - Method in interface cn.sliew.milky.common.recycler.Recycler
 
onAfter() - Method in interface cn.sliew.milky.common.concurrent.RunnableWrapper
This method is called after execution.
onAfter(T) - Method in interface cn.sliew.milky.common.concurrent.CallableWrapper
This method is called after execution.
onBefore() - Method in interface cn.sliew.milky.common.concurrent.CallableWrapper
This method is called before all execution for init.
onBefore() - Method in interface cn.sliew.milky.common.concurrent.RunnableWrapper
This method is called before all execution for init.
ONE_GB - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
One gigabyte bytes.
ONE_KB - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
One kilobyte bytes.
ONE_MB - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
One megabyte bytes.
onEvent(AbstractPipelineProcess<String, Object>, Context<String, Object>, CompletableFuture<?>) - Method in class cn.sliew.milky.common.chain.LogCommand
 
onEvent(AbstractPipelineProcess<K, V>, Context<K, V>, CompletableFuture<?>) - Method in interface cn.sliew.milky.common.chain.Command
Execute a unit of processing work to be performed.
onFailure(Exception) - Method in interface cn.sliew.milky.common.concurrent.CallableWrapper
This method is invoked for all exception thrown by CallableWrapper.doCall()
onFailure(Exception) - Method in interface cn.sliew.milky.common.concurrent.RunnableWrapper
This method is invoked for all exception thrown by doRun()
onFailure(Throwable) - Method in interface cn.sliew.milky.common.filter.ActionListener
A failure caused by an exception at some phase of the task.
onFailure(Throwable) - Method in class cn.sliew.milky.common.filter.DelegatingActionListener
 
onFinal() - Method in interface cn.sliew.milky.common.concurrent.CallableWrapper
This method is called in a finally block after successful execution or on a rejection.
onFinal() - Method in interface cn.sliew.milky.common.concurrent.RunnableWrapper
This method is called in a finally block after successful execution or on a rejection.
onRemoval(RemovalNotification<K, V>) - Method in interface cn.sliew.milky.common.cache.local.RemovalListener
 
onResponse(Response) - Method in interface cn.sliew.milky.common.filter.ActionListener
Handle action response.
onResponse(Response) - Method in class cn.sliew.milky.common.filter.DelegatingActionListener
 
openExplain() - Method in class cn.sliew.milky.common.context.ExecuteContext
 
openProfile() - Method in class cn.sliew.milky.common.context.ExecuteContext
 
order() - Method in interface cn.sliew.milky.common.filter.ActionFilter
The position of the filter in the chain.
OS_ARCH - Static variable in class cn.sliew.milky.common.util.Constants
 
OutputStreamStreamOutput - Class in cn.sliew.milky.common.io.stream
 
OutputStreamStreamOutput(OutputStream) - Constructor for class cn.sliew.milky.common.io.stream.OutputStreamStreamOutput
 
oversize(int, int) - Static method in class cn.sliew.milky.common.util.ArrayUtil
Returns an array size >= minTargetSize, generally over-allocating exponentially to achieve amortized linear-time cost as the array grows.

P

padStart(String, int, char) - Static method in class cn.sliew.milky.common.primitives.Strings
 
parse(String) - Static method in class cn.sliew.milky.common.parse.Token
Parse a Token from the supplied string representation using the default format.
parseBoolean(char[], int, int, boolean) - Static method in class cn.sliew.milky.common.primitives.Booleans
Parses a char[] representation of a boolean value to boolean.
parseBoolean(String) - Static method in class cn.sliew.milky.common.primitives.Booleans
Parses a string representation of a boolean value to boolean.
parseBoolean(String, boolean) - Static method in class cn.sliew.milky.common.primitives.Booleans
 
parseBoolean(String, Boolean) - Static method in class cn.sliew.milky.common.primitives.Booleans
 
parseByteValue(String) - Static method in class cn.sliew.milky.common.unit.ByteValue
 
parseByteValue(String, ByteValue) - Static method in class cn.sliew.milky.common.unit.ByteValue
 
parseDouble(String) - Static method in class cn.sliew.milky.common.primitives.Doubles
 
parseDouble(String, double) - Static method in class cn.sliew.milky.common.primitives.Doubles
 
parseDouble(String, Double) - Static method in class cn.sliew.milky.common.primitives.Doubles
 
parseFloat(String) - Static method in class cn.sliew.milky.common.primitives.Floats
 
parseFloat(String, float) - Static method in class cn.sliew.milky.common.primitives.Floats
 
parseFloat(String, Float) - Static method in class cn.sliew.milky.common.primitives.Floats
 
parseInteger(String) - Static method in class cn.sliew.milky.common.primitives.Integers
 
parseInteger(String, int) - Static method in class cn.sliew.milky.common.primitives.Integers
 
parseInteger(String, Integer) - Static method in class cn.sliew.milky.common.primitives.Integers
 
parseJsonArray(String, Class<T>) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
parseJsonString(String, TypeReference<T>) - Static method in class cn.sliew.milky.common.util.JacksonUtil
deserialize json string to target specified by TypeReference.
parseJsonString(String, Class<T>) - Static method in class cn.sliew.milky.common.util.JacksonUtil
deserialize json string to target specified by Class.
parseJsonString(String, Class<T>, Class) - Static method in class cn.sliew.milky.common.util.JacksonUtil
deserialize json string to target specified by generic type.
parseLong(String) - Static method in class cn.sliew.milky.common.primitives.Longs
 
parseLong(String, long) - Static method in class cn.sliew.milky.common.primitives.Longs
 
parseLong(String, Long) - Static method in class cn.sliew.milky.common.primitives.Longs
 
parseSizeValue(String) - Static method in class cn.sliew.milky.common.unit.SizeValue
 
parseSizeValue(String, SizeValue) - Static method in class cn.sliew.milky.common.unit.SizeValue
 
parseStringValue(String, PropertyPlaceholder.PlaceholderResolver, Set<String>) - Method in class cn.sliew.milky.common.parse.placeholder.PropertyPlaceholder
 
parseTimeValue(String) - Static method in class cn.sliew.milky.common.unit.TimeValue
 
parseTimeValue(String, TimeValue) - Static method in class cn.sliew.milky.common.unit.TimeValue
 
PathTrie<T> - Class in cn.sliew.milky.common.path
copyed from elasticsearch tag v6.8.2
PathTrie(PathTrie.Decoder) - Constructor for class cn.sliew.milky.common.path.PathTrie
 
PathTrie.Decoder - Interface in cn.sliew.milky.common.path
 
PathTrie.TrieNode - Class in cn.sliew.milky.common.path
 
PB - cn.sliew.milky.common.unit.ByteUnit
 
pendingTimeouts() - Method in class cn.sliew.milky.common.timewheel.HashedWheelTimer
Returns the number of pending timeouts of this Timer.
peta() - Method in class cn.sliew.milky.common.unit.SizeValue
 
PETA - cn.sliew.milky.common.unit.SizeUnit
 
petaFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 
pipeline() - Method in class cn.sliew.milky.common.chain.AbstractPipelineProcess
 
pipeline() - Method in interface cn.sliew.milky.common.chain.PipelineProcess
Return the assigned Pipeline
Pipeline<K,​V> - Interface in cn.sliew.milky.common.chain
 
PipelineException - Exception in cn.sliew.milky.common.chain
Runtime Exception that wraps an underlying exception thrown during the execution of a Command or Pipeline.
PipelineException(String) - Constructor for exception cn.sliew.milky.common.chain.PipelineException
Create an exception object with a message.
PipelineException(String, Throwable) - Constructor for exception cn.sliew.milky.common.chain.PipelineException
Create an exception object with a message and chain it to another exception.
PipelineException(String, Throwable, Context<K, V>, Command<K, V>) - Constructor for exception cn.sliew.milky.common.chain.PipelineException
Constructs a new ChainException with references to the Context and Command associated with the exception being wrapped (cause).
PipelineProcess<K,​V> - Interface in cn.sliew.milky.common.chain
 
pollForPurge() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.ReferenceManager
Return any reference that has been garbage collected and can be purged from the underlying structure or null if no references need purging.
precedenceOf(PropertySource<?>) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Return the precedence of the given property source, -1 if not found.
previous() - Method in class cn.sliew.milky.common.path.NameIterator
 
previousSegmentEquals(String) - Method in class cn.sliew.milky.common.path.NameIterator
 
previousSegmentEquals(String, int, int) - Method in class cn.sliew.milky.common.path.NameIterator
 
primitiveSizes - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
Sizes of primitive classes.
proceed(Request) - Method in class cn.sliew.milky.common.interceptor.DefaultInterceptorContext
 
proceed(Request, ActionListener<Response>) - Method in interface cn.sliew.milky.common.filter.ActionFilterChain
Continue processing the request.
proceed(Request, ActionListener<Response>) - Method in class cn.sliew.milky.common.filter.DefaultFilterChain
 
proceed(Reuqest) - Method in interface cn.sliew.milky.common.interceptor.InterceptorContext
Proceeds to the next interceptor in the chain.
processEvent(T, StateEvent) - Method in interface cn.sliew.milky.common.state.State
This method processed received event.
profile() - Method in class cn.sliew.milky.common.context.ExecuteContext
 
profile() - Method in class cn.sliew.milky.common.model.param.AbstractParam
 
PropertiesPropertySource - Class in cn.sliew.milky.common.environment
 
PropertiesPropertySource(String, Map<String, Object>) - Constructor for class cn.sliew.milky.common.environment.PropertiesPropertySource
 
PropertiesPropertySource(String, Properties) - Constructor for class cn.sliew.milky.common.environment.PropertiesPropertySource
 
PropertyFilter - Interface in cn.sliew.milky.common.environment
 
PropertyPlaceholder - Class in cn.sliew.milky.common.parse.placeholder
Utility class for working with Strings that have placeholder values in them.
PropertyPlaceholder(Logger, String, String) - Constructor for class cn.sliew.milky.common.parse.placeholder.PropertyPlaceholder
Creates a new PropertyPlaceholderHelper that uses the supplied prefix and suffix.
PropertyPlaceholder(Logger, String, String, String, boolean) - Constructor for class cn.sliew.milky.common.parse.placeholder.PropertyPlaceholder
Creates a new PropertyPlaceholderHelper that uses the supplied prefix and suffix.
PropertyPlaceholder.PlaceholderResolver - Interface in cn.sliew.milky.common.parse.placeholder
Strategy interface used to resolve replacement values for placeholders contained in Strings.
PropertyResolver - Interface in cn.sliew.milky.common.environment
Interface for resolving properties against any underlying source.
PropertySource<T> - Interface in cn.sliew.milky.common.environment
Interface representing a source of key/value property pairs with name.
PropertySourceIterable - Interface in cn.sliew.milky.common.environment
Holder containing one or more PropertySource objects.
PropertySourcesPropertyResolver - Class in cn.sliew.milky.common.environment
 
PropertySourcesPropertyResolver(PropertySourceIterable) - Constructor for class cn.sliew.milky.common.environment.PropertySourcesPropertyResolver
 
purgeUnreferencedEntries() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
Remove any entries that have been garbage collected and are no longer referenced.
put(K, V) - Method in class cn.sliew.milky.common.cache.lfu.LFUCache
 
put(K, V) - Method in class cn.sliew.milky.common.cache.local.Cache
Associates the specified value with the specified key in this map.
put(K, V) - Method in class cn.sliew.milky.common.cache.lru.LRUCache
 
put(K, V) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
putAll(KeyMap<V>) - Method in class cn.sliew.milky.common.path.KeyMap
 
putAll(Map<? extends String, ? extends KeyMap<V>>) - Method in class cn.sliew.milky.common.path.KeyMap
 
putAny(KeyMap<V>) - Method in class cn.sliew.milky.common.path.KeyMap
 
putAnyIfAbsent(KeyMap<V>) - Method in class cn.sliew.milky.common.path.KeyMap
 
putIfAbsent(K, V) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
putRootValue(V) - Method in class cn.sliew.milky.common.path.KeyMap
 

Q

QUERY_DEFAULT_RAM_BYTES_USED - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
Approximate memory usage that we assign to all unknown queries - this maps roughly to a BooleanQuery with a couple term clauses.
quote(String) - Static method in class cn.sliew.milky.common.primitives.Strings
Quote the given String with single quotes.

R

RamUsageEstimator - Class in cn.sliew.milky.common.util
Estimates the size (memory representation) of Java objects.
read() - Method in class cn.sliew.milky.common.io.stream.InputStreamStreamInput
 
read() - Method in enum cn.sliew.milky.common.stopwatch.DisabledTicker
 
read() - Method in enum cn.sliew.milky.common.stopwatch.SystemTicker
 
read() - Method in interface cn.sliew.milky.common.stopwatch.Ticker
Returns the number of nanoseconds elapsed since this ticker's fixed point of reference.
read(StreamInput) - Method in interface cn.sliew.milky.common.io.stream.Readable.Reader
Read V-type value from a stream.
Readable - Interface in cn.sliew.milky.common.io.stream
 
Readable.Reader<V> - Interface in cn.sliew.milky.common.io.stream
Reference to a method that can read some object from a stream.
readBoolean() - Method in class cn.sliew.milky.common.io.stream.StreamInput
Reads a boolean.
readByte() - Method in class cn.sliew.milky.common.io.stream.InputStreamStreamInput
 
readByte() - Method in class cn.sliew.milky.common.io.stream.StreamInput
Reads and returns a single byte.
readBytes(byte[], int, int) - Method in class cn.sliew.milky.common.io.stream.InputStreamStreamInput
 
readBytes(byte[], int, int) - Method in class cn.sliew.milky.common.io.stream.StreamInput
Reads a specified number of bytes into an array at the specified offset.
readDouble() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
readFloat() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
readFrom(StreamInput) - Method in interface cn.sliew.milky.common.io.stream.Readable
Set this object's fields from a StreamInput.
readGenericValue() - Method in class cn.sliew.milky.common.io.stream.StreamInput
Reads a value of unspecified type.
readInt() - Method in class cn.sliew.milky.common.io.stream.StreamInput
Reads four bytes and returns an int.
readLong() - Method in class cn.sliew.milky.common.io.stream.StreamInput
Reads eight bytes and returns a long.
readOptionalBoolean() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
readOptionalDouble() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
readOptionalFloat() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
readOptionalInt() - Method in class cn.sliew.milky.common.io.stream.StreamInput
Reads an optional Integer.
readOptionalLong() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
readOptionalVInt() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
readOptionalVLong() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
readShort() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
readStackTrace(Throwable) - Static method in class cn.sliew.milky.common.exception.ThrowableTraceFormater
Read the stacktrace of the supplied Throwable into a String.
readVInt() - Method in class cn.sliew.milky.common.io.stream.StreamInput
Reads an int stored in variable-length format.
readVLong() - Method in class cn.sliew.milky.common.io.stream.StreamInput
Reads a long stored in variable-length format.
readZLong() - Method in class cn.sliew.milky.common.io.stream.StreamInput
 
reason() - Method in class cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleSupportResult
 
record() - Method in interface cn.sliew.milky.common.reference.ResourceLeakTracker
Records the caller's current stack trace so that the ResourceLeakDetector can tell where the leaked resource was accessed lastly.
record(Object) - Method in interface cn.sliew.milky.common.reference.ResourceLeakTracker
Records the caller's current stack trace and the specified additional arbitrary information so that the ResourceLeakDetector can tell where the leaked resource was accessed lastly.
recycle(T) - Method in class cn.sliew.milky.common.recycler.AbstractSource
 
recycle(T) - Method in interface cn.sliew.milky.common.recycler.Source
Recycle the data.
Recycler<T> - Interface in cn.sliew.milky.common.recycler
 
refCnt() - Method in interface cn.sliew.milky.common.reference.ReferenceCounted
Returns the reference count of this object.
ReferenceCounted - Interface in cn.sliew.milky.common.reference
A reference-counted object that requires explicit deallocation.
ReferenceManager() - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.ReferenceManager
 
ReflectUtil - Class in cn.sliew.milky.common.util
 
refresh() - Method in class cn.sliew.milky.common.cache.local.Cache
Force any outstanding size-based and time-based evictions to occur
Regex - Class in cn.sliew.milky.common.regex
 
register() - Method in class cn.sliew.milky.common.watchdog.DefaultThreadWatchdog
 
register() - Method in class cn.sliew.milky.common.watchdog.Noop
 
register() - Method in interface cn.sliew.milky.common.watchdog.ThreadWatchdog
Registers the current thread and interrupts the current thread if the takes too long for this thread to invoke ThreadWatchdog.unregister().
Releasable - Interface in cn.sliew.milky.common.release
 
ReleasableLock - Class in cn.sliew.milky.common.concurrent
Releasable lock used inside of Engine implementations
ReleasableLock(Lock) - Constructor for class cn.sliew.milky.common.concurrent.ReleasableLock
 
release() - Method in interface cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Reference
Release this entry and ensure that it will be returned from ReferenceManager#pollForPurge().
release() - Method in interface cn.sliew.milky.common.reference.ReferenceCounted
Decreases the reference count by 1 and deallocates this object if the reference count reaches at 0.
release(int) - Method in interface cn.sliew.milky.common.reference.ReferenceCounted
Decreases the reference count by the specified decrement and deallocates this object if the reference count reaches at 0.
removalListener(RemovalListener<K, V>) - Method in class cn.sliew.milky.common.cache.local.CacheBuilder
 
RemovalListener<K,​V> - Interface in cn.sliew.milky.common.cache.local
 
RemovalNotification<K,​V> - Class in cn.sliew.milky.common.cache.local
 
RemovalNotification(K, V, RemovalNotification.RemovalReason) - Constructor for class cn.sliew.milky.common.cache.local.RemovalNotification
 
RemovalNotification.RemovalReason - Enum in cn.sliew.milky.common.cache.local
 
remove(Command) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
remove(Command<K, V>) - Method in interface cn.sliew.milky.common.chain.Pipeline
Removes the specified Command from this pipeline.
remove(Class) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
remove(Class) - Method in interface cn.sliew.milky.common.chain.Pipeline
Removes the Command of the specified type from this pipeline.
remove(Object) - Method in class cn.sliew.milky.common.cache.lru.LRUCache
 
remove(Object) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
remove(Object, Object) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
remove(String) - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
remove(String) - Method in interface cn.sliew.milky.common.chain.Pipeline
Removes the Command with the specified name from this pipeline.
remove(String) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Remove and return the property source with the given name, null if not found.
remove(K) - Method in class cn.sliew.milky.common.cache.lfu.LFUCache
 
removeAttachment(String) - Method in class cn.sliew.milky.common.context.ExecuteContext
remove attachment.
removeContext() - Static method in class cn.sliew.milky.common.context.ExecuteContext
 
removeEldestEntry(Map.Entry<K, V>) - Method in class cn.sliew.milky.common.cache.lru.LRUCache
 
removeFirst() - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
removeFirst() - Method in interface cn.sliew.milky.common.chain.Pipeline
Removes the first Command in this pipeline.
removeIfPresent(PropertySource<?>) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Remove the given property source if it is present.
removeLast() - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
removeLast() - Method in interface cn.sliew.milky.common.chain.Pipeline
Removes the last Command in this pipeline.
removeLastSegment() - Method in class cn.sliew.milky.common.parse.Token
Construct a new Token and removing the last TokenFormat.Segment of this Token.
removeLifeCycleListener(LifeCycleListener) - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
removeLifeCycleListener(LifeCycleListener) - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
removeRootValue() - Method in class cn.sliew.milky.common.path.KeyMap
 
removeStateChangeListener(StateChangeListener) - Method in interface cn.sliew.milky.common.state.StateMachine
Remove a state change listener
replace(String, PropertySource<?>) - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Replace the property source with the given name with the given property source object.
replace(String, String, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Replace all occurrences of a substring within a string with another string.
replace(K, V) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
replace(K, V, V) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
REPLACED - cn.sliew.milky.common.cache.local.RemovalNotification.RemovalReason
 
replacePlaceholders(String, PropertyPlaceholder.PlaceholderResolver) - Method in class cn.sliew.milky.common.parse.placeholder.PropertyPlaceholder
Replaces all placeholders of format ${name} with the value returned from the supplied PropertyPlaceholder.PlaceholderResolver.
replacePlaceholders(String, Properties) - Method in class cn.sliew.milky.common.parse.placeholder.PropertyPlaceholder
Replaces all placeholders of format ${name} with the corresponding property from the supplied Properties.
require(boolean) - Static method in enum cn.sliew.milky.common.check.Requires
 
require(boolean, Supplier<Object>) - Static method in enum cn.sliew.milky.common.check.Requires
 
Requires - Enum in cn.sliew.milky.common.check
 
reset() - Method in class cn.sliew.milky.common.io.stream.OutputStreamStreamOutput
 
reset() - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
reset() - Method in class cn.sliew.milky.common.stopwatch.Stopwatch
Sets the elapsed time for this stopwatch to zero, and places it in a stopped state.
resolveNestedPlaceholders(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
Resolve placeholders within the given string.
resolvePlaceholder(String) - Method in interface cn.sliew.milky.common.parse.placeholder.PropertyPlaceholder.PlaceholderResolver
Resolves the supplied placeholder name into the replacement value.
resolvePlaceholders(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
resolvePlaceholders(String) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Resolve ${...} placeholders in the given text, replacing them with corresponding property values as resolved by PropertyResolver.getProperty(java.lang.String).
resolveRequiredPlaceholders(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
resolveRequiredPlaceholders(String) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Resolve ${...} placeholders in the given text, replacing them with corresponding property values as resolved by PropertyResolver.getProperty(java.lang.String).
ResourceLeakHint - Interface in cn.sliew.milky.common.reference
A hint object that provides human-readable message for easier resource leak tracking.
ResourceLeakTracker<T> - Interface in cn.sliew.milky.common.reference
 
Response<T> - Class in cn.sliew.milky.common.model.dto
 
Response() - Constructor for class cn.sliew.milky.common.model.dto.Response
 
restructureIfNecessary(boolean) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Segment
Restructure the underlying data structure when it becomes necessary.
retain() - Method in interface cn.sliew.milky.common.reference.ReferenceCounted
Increases the reference count by 1.
retain(int) - Method in interface cn.sliew.milky.common.reference.ReferenceCounted
Increases the reference count by the specified increment.
Rethrower - Class in cn.sliew.milky.common.exception
Rethrowing checked exceptions as unchecked ones.
Rethrower.Procedure - Interface in cn.sliew.milky.common.exception
 
rethrowIfUnrecoverable(Throwable) - Static method in class cn.sliew.milky.common.exception.Rethrower
Rethrow the supplied exception if it is unrecoverable.
retrieve(String) - Method in class cn.sliew.milky.common.path.PathTrie
 
retrieve(String[], int, Map<String, String>, PathTrie.TrieMatchingMode) - Method in class cn.sliew.milky.common.path.PathTrie.TrieNode
 
retrieve(String, Map<String, String>) - Method in class cn.sliew.milky.common.path.PathTrie
 
retrieve(String, Map<String, String>, PathTrie.TrieMatchingMode) - Method in class cn.sliew.milky.common.path.PathTrie
 
retrieve(K) - Method in interface cn.sliew.milky.common.chain.Context
That method enhances the Map.get(Object) method that helps users avoid the redundant code of type cast/checking when assignments are already known.
retrieve(K) - Method in class cn.sliew.milky.common.chain.ContextMap
That method enhances the Map.get(Object) method that helps users avoid the redundant code of type cast/checking when assignments are already known.
retrieveAll(String, Supplier<Map<String, String>>) - Method in class cn.sliew.milky.common.path.PathTrie
Returns an iterator of the objects stored in the PathTrie, using all possible TrieMatchingMode modes.
retryable - Variable in exception cn.sliew.milky.common.exception.BizException
 
root(String, String) - Static method in class cn.sliew.milky.common.parse.Token
Create a root Token from the supplied segmentType and value using the default format.
RPC_INVOKE_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
run() - Method in interface cn.sliew.milky.common.concurrent.RunnableWrapper
 
run(Timeout) - Method in interface cn.sliew.milky.common.timewheel.TimerTask
Executed after the delay specified with Timer.newTimeout(TimerTask, long, TimeUnit).
RunnableWrapper - Interface in cn.sliew.milky.common.concurrent
 

S

seconds() - Method in class cn.sliew.milky.common.unit.TimeValue
 
secondsFrac() - Method in class cn.sliew.milky.common.unit.TimeValue
 
Segment(int, int) - Constructor for class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Segment
 
semVersion() - Static method in class cn.sliew.milky.common.version.SemVersion
 
semVersion(int, int, int) - Static method in class cn.sliew.milky.common.version.SemVersion
 
semVersion(String) - Static method in class cn.sliew.milky.common.version.SemVersion
 
SemVersion - Class in cn.sliew.milky.common.version
semantic versioning implementions.
SemVersion(int, int, int) - Constructor for class cn.sliew.milky.common.version.SemVersion
 
set(T) - Method in class cn.sliew.milky.common.collect.SetOnce
Sets the given object.
set(T) - Method in interface cn.sliew.milky.common.constant.Attribute
Sets the value
setAttachment(String, String) - Method in class cn.sliew.milky.common.context.ExecuteContext
set attachment.
setAttachments(Map<String, String>) - Method in class cn.sliew.milky.common.context.ExecuteContext
set attachments
setExpireAfterAccess(TimeValue) - Method in class cn.sliew.milky.common.cache.local.CacheBuilder
Sets the amount of time before an entry in the cache expires after it was last accessed.
setExpireAfterWrite(TimeValue) - Method in class cn.sliew.milky.common.cache.local.CacheBuilder
Sets the amount of time before an entry in the cache expires after it was written.
setExplain(boolean) - Method in class cn.sliew.milky.common.model.param.AbstractParam
 
setIfAbsent(T) - Method in interface cn.sliew.milky.common.constant.Attribute
Atomically sets to the given value if this Attribute's value is null.
setMaxCapacity(int) - Method in class cn.sliew.milky.common.cache.lru.LRUCache
 
setMaximumWeight(long) - Method in class cn.sliew.milky.common.cache.local.CacheBuilder
 
SetOnce<T> - Class in cn.sliew.milky.common.collect
A convenient class which offers a semi-immutable object wrapper implementation which allows one to set the value of an object exactly once, and retrieve it many times.
SetOnce() - Constructor for class cn.sliew.milky.common.collect.SetOnce
A default constructor which does not set the internal object, and allows setting it by calling SetOnce.set(Object).
SetOnce(T) - Constructor for class cn.sliew.milky.common.collect.SetOnce
Creates a new instance with the internal object set to the given object.
SetOnce.AlreadySetException - Exception in cn.sliew.milky.common.collect
Thrown when SetOnce.set(Object) is called more than once.
setPage(long) - Method in class cn.sliew.milky.common.model.param.AbstractPageParam
 
setPlaceholderPrefix(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
setPlaceholderPrefix(String) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Set the prefix that placeholders replaced by this resolver must begin with.
setPlaceholderSuffix(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
setPlaceholderSuffix(String) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Set the suffix that placeholders replaced by this resolver must end with.
setProfile(boolean) - Method in class cn.sliew.milky.common.model.param.AbstractParam
 
setSize(long) - Method in class cn.sliew.milky.common.model.param.AbstractPageParam
 
setValue(V) - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Entry
 
setValueSeparator(String) - Method in class cn.sliew.milky.common.environment.AbstractPropertyResolver
 
setValueSeparator(String) - Method in interface cn.sliew.milky.common.environment.PropertyResolver
Specify the separating character between the placeholders replaced by this resolver and their associated default value, or null if no such special character should be processed as a value separator.
shallowSizeOf(Object) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Estimates a "shallow" memory usage of the given object.
shallowSizeOf(Object[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the shallow size in bytes of the Object[] object.
shallowSizeOfInstance(Class<?>) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the shallow instance size in bytes an instance of the given class would occupy.
shouldIgnoreMissing(String) - Method in interface cn.sliew.milky.common.parse.placeholder.PropertyPlaceholder.PlaceholderResolver
 
shouldRemoveMissingPlaceholder(String) - Method in interface cn.sliew.milky.common.parse.placeholder.PropertyPlaceholder.PlaceholderResolver
Allows for special handling for ignored missing placeholders that may be resolved elsewhere.
simpleMatch(String, String) - Static method in class cn.sliew.milky.common.regex.Regex
Match a String against the given pattern, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality.
simpleMatch(String, String, boolean) - Static method in class cn.sliew.milky.common.regex.Regex
Match a String against the given pattern, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality.
SINGLE - cn.sliew.milky.common.unit.SizeUnit
 
singles() - Method in class cn.sliew.milky.common.unit.SizeValue
 
size() - Method in class cn.sliew.milky.common.cache.lru.LRUCache
 
size() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap
 
size() - Method in class cn.sliew.milky.common.environment.MutablePropertySources
Return the number of PropertySource objects contained.
sizeOf(boolean[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the boolean[] object.
sizeOf(byte[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the byte[] object.
sizeOf(char[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the char[] object.
sizeOf(double[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the double[] object.
sizeOf(float[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the float[] object.
sizeOf(int[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the int[] object.
sizeOf(long[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the long[] object.
sizeOf(short[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the short[] object.
sizeOf(Long) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Return the size of the provided Long object, returning 0 if it is cached by the JVM and its shallow size otherwise.
sizeOf(String) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the String object.
sizeOf(String[]) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of the String[] object.
sizeOfCollection(Collection<?>) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of a Collection object, including sizes of its values, supplying RamUsageEstimator.UNKNOWN_DEFAULT_RAM_BYTES_USED when object type is not well known.
sizeOfCollection(Collection<?>, long) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of a Collection object, including sizes of its values, supplying default object size when object type is not well known.
sizeOfMap(Map<?, ?>) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of a Map object, including sizes of its keys and values, supplying RamUsageEstimator.UNKNOWN_DEFAULT_RAM_BYTES_USED when object type is not well known.
sizeOfMap(Map<?, ?>, long) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Returns the size in bytes of a Map object, including sizes of its keys and values, supplying default object size when object type is not well known.
sizeOfObject(Object) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Best effort attempt to estimate the size in bytes of an undetermined object.
sizeOfObject(Object, long) - Static method in class cn.sliew.milky.common.util.RamUsageEstimator
Best effort attempt to estimate the size in bytes of an undetermined object.
SizeUnit - Enum in cn.sliew.milky.common.unit
 
SizeValue - Class in cn.sliew.milky.common.unit
 
SizeValue(long) - Constructor for class cn.sliew.milky.common.unit.SizeValue
 
SizeValue(long, SizeUnit) - Constructor for class cn.sliew.milky.common.unit.SizeValue
 
SOFT - cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.ReferenceType
source - Variable in class cn.sliew.milky.common.environment.AbstractPropertySource
 
Source<T> - Interface in cn.sliew.milky.common.recycler
 
spaceify(int, String, StringBuilder) - Static method in class cn.sliew.milky.common.primitives.Strings
 
split(String, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Split a String at the first occurrence of the delimiter.
spliterator() - Method in class cn.sliew.milky.common.environment.MutablePropertySources
 
splitSmart(String, String, boolean) - Static method in class cn.sliew.milky.common.primitives.Strings
Splits a backslash escaped string on the separator.
splitStringByCommaToArray(String) - Static method in class cn.sliew.milky.common.primitives.Strings
Split the specified string by commas to an array.
start() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
start() - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
start() - Method in class cn.sliew.milky.common.stopwatch.Stopwatch
Starts the stopwatch.
start() - Method in class cn.sliew.milky.common.timewheel.HashedWheelTimer
Starts the background thread explicitly.
STARTED - cn.sliew.milky.common.lifecycle.LifeCycle.State
Has started.
STARTING - cn.sliew.milky.common.lifecycle.LifeCycle.State
In the process of starting.
State<T extends StateMachine> - Interface in cn.sliew.milky.common.state
This interface must be extended by any class that should implement a certain state in the state machine.
stateChanged(T, State, State) - Method in interface cn.sliew.milky.common.state.StateChangeListener
A change of state has occurred for a FSM.
StateChangeListener<T> - Interface in cn.sliew.milky.common.state
Interface used to inform about changes in the state for a FSM.
StateEvent - Interface in cn.sliew.milky.common.state
The Event class holds information about the different events that can be handled by the state machine.
StateMachine - Interface in cn.sliew.milky.common.state
The StateMachine lets you organize event handling, if the order of the events are important to you.
stats() - Method in class cn.sliew.milky.common.cache.local.Cache
The cache statistics tracking hits, misses and evictions.
stop() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
stop() - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
stop() - Method in class cn.sliew.milky.common.stopwatch.Stopwatch
Stops the stopwatch.
stop() - Method in class cn.sliew.milky.common.timewheel.HashedWheelTimer
 
stop() - Method in interface cn.sliew.milky.common.timewheel.Timer
Releases all resources acquired by this Timer and cancels all tasks which were scheduled but not executed yet.
stop(Duration) - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
stop(Duration) - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
STOPPED - cn.sliew.milky.common.lifecycle.LifeCycle.State
Has stopped.
STOPPING - cn.sliew.milky.common.lifecycle.LifeCycle.State
Stopping is in progress.
Stopwatch - Class in cn.sliew.milky.common.stopwatch
 
StopWatchs - Enum in cn.sliew.milky.common.stopwatch
 
stream() - Method in class cn.sliew.milky.common.environment.MutablePropertySources
 
stream() - Method in interface cn.sliew.milky.common.environment.PropertySourceIterable
 
Streamable - Interface in cn.sliew.milky.common.io.stream
Implementers can be written to a StreamOutput and read from a StreamInput.
StreamInput - Class in cn.sliew.milky.common.io.stream
A stream from this node to another node.
StreamInput() - Constructor for class cn.sliew.milky.common.io.stream.StreamInput
 
StreamOutput - Class in cn.sliew.milky.common.io.stream
A stream from another node to this node.
StreamOutput() - Constructor for class cn.sliew.milky.common.io.stream.StreamOutput
 
Strings - Class in cn.sliew.milky.common.primitives
 
StringUtils - Class in cn.sliew.milky.common.util
 
substring(String, int, int) - Static method in class cn.sliew.milky.common.primitives.Strings
Return substring(beginIndex, endIndex) that is impervious to string length.
substringMatch(CharSequence, int, CharSequence) - Static method in class cn.sliew.milky.common.primitives.Strings
Test whether the given string matches the given substring at the given index.
substringMatch(CharSequence, int, CharSequence) - Static method in class cn.sliew.milky.common.util.StringUtils
Test whether the given string matches the given substring at the given index.
success() - Static method in class cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleResult
 
SUCCESS - cn.sliew.milky.common.exception.BizExceptionEnum
 
support() - Method in class cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleSupportResult
 
support(String) - Static method in class cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleSupportResult
 
supportInitialize() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
supportInitialize() - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
supportStart() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
supportStart() - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
supportStop() - Method in class cn.sliew.milky.common.lifecycle.AbstractLifeCycle
 
supportStop() - Method in interface cn.sliew.milky.common.lifecycle.LifeCycle
 
swallow(Rethrower.Procedure) - Static method in class cn.sliew.milky.common.exception.Rethrower
 
SYS_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
SystemTicker - Enum in cn.sliew.milky.common.stopwatch
 

T

tag() - Method in class cn.sliew.milky.common.constant.Tag
Return the string tag value
tag(Tag) - Method in class cn.sliew.milky.common.constant.DefaultTagSet
 
tag(Tag) - Method in interface cn.sliew.milky.common.constant.TagSet
 
Tag - Class in cn.sliew.milky.common.constant
An tag which allows to store a string tag value.
tags() - Method in class cn.sliew.milky.common.constant.DefaultTagSet
 
tags() - Method in interface cn.sliew.milky.common.constant.TagSet
 
TagSet - Interface in cn.sliew.milky.common.constant
todo Tag
task() - Method in interface cn.sliew.milky.common.timewheel.Timeout
Returns the TimerTask which is associated with this handle.
TB - cn.sliew.milky.common.unit.ByteUnit
 
tera() - Method in class cn.sliew.milky.common.unit.SizeValue
 
TERA - cn.sliew.milky.common.unit.SizeUnit
 
teraFrac() - Method in class cn.sliew.milky.common.unit.SizeValue
 
ThreadWatchdog - Interface in cn.sliew.milky.common.watchdog
Protects against long running operations that happen between the register and unregister invocations.
ThreadWatchdogs - Enum in cn.sliew.milky.common.watchdog
 
ThrowableCollector<T> - Class in cn.sliew.milky.common.exception
Component that can collect one Throwable instance.
ThrowableCollector.Executable - Interface in cn.sliew.milky.common.exception
Functional interface for an executable block of code that may throw a Throwable.
ThrowableCollector.ExecutableWithResult<T> - Interface in cn.sliew.milky.common.exception
Functional interface for an executable block of code that may throw a Throwable.
ThrowableTraceFormater - Class in cn.sliew.milky.common.exception
Utilities for dealing with throwables, stacks, etc.
ThrowableTraceFormater() - Constructor for class cn.sliew.milky.common.exception.ThrowableTraceFormater
Default stack traces, no filtering.
ThrowableTraceFormater(List<String>) - Constructor for class cn.sliew.milky.common.exception.ThrowableTraceFormater
 
throwAs(Throwable) - Static method in class cn.sliew.milky.common.exception.Rethrower
Rethrows t (identical object).
throwAsUncheckedException(Throwable) - Static method in class cn.sliew.milky.common.exception.Rethrower
Throw the supplied Throwable, masked as an unchecked exception.
Ticker - Interface in cn.sliew.milky.common.stopwatch
因为jdk提供的Clock只能支持毫秒级的时间,所以单独定义了Ticker提供 纳秒级的时间
Tickers - Enum in cn.sliew.milky.common.stopwatch
 
Timeout - Interface in cn.sliew.milky.common.timewheel
A handle associated with a TimerTask that is returned by a Timer.
timer() - Method in interface cn.sliew.milky.common.timewheel.Timeout
Returns the Timer that created this handle.
Timer - Interface in cn.sliew.milky.common.timewheel
Schedules TimerTasks for one-time future execution in a background thread.
TimerTask - Interface in cn.sliew.milky.common.timewheel
A task which is executed after the delay specified with Timer.newTimeout(TimerTask, long, TimeUnit) (TimerTask, long, TimeUnit)}.
timeUnit() - Method in class cn.sliew.milky.common.unit.TimeValue
 
TimeValue - Class in cn.sliew.milky.common.unit
 
TimeValue(long) - Constructor for class cn.sliew.milky.common.unit.TimeValue
 
TimeValue(long, TimeUnit) - Constructor for class cn.sliew.milky.common.unit.TimeValue
 
timeValueHours(long) - Static method in enum cn.sliew.milky.common.unit.TimeValues
 
timeValueMillis(long) - Static method in enum cn.sliew.milky.common.unit.TimeValues
 
timeValueMinutes(long) - Static method in enum cn.sliew.milky.common.unit.TimeValues
 
timeValueNanos(long) - Static method in enum cn.sliew.milky.common.unit.TimeValues
 
TimeValues - Enum in cn.sliew.milky.common.unit
 
timeValueSeconds(long) - Static method in enum cn.sliew.milky.common.unit.TimeValues
 
toBiConsumer() - Method in interface cn.sliew.milky.common.filter.ActionListener
 
toBytes(long) - Method in enum cn.sliew.milky.common.unit.ByteUnit
 
toEnum(String, Class<T>) - Static method in class cn.sliew.milky.common.primitives.Enums
 
toFuture() - Method in interface cn.sliew.milky.common.filter.ActionListener
 
toGB(long) - Method in enum cn.sliew.milky.common.unit.ByteUnit
 
toGiga(long) - Method in enum cn.sliew.milky.common.unit.SizeUnit
 
toHintString() - Method in interface cn.sliew.milky.common.reference.ResourceLeakHint
Returns a human-readable message that potentially enables easier resource leak tracking.
toHumanReadableString(int) - Method in class cn.sliew.milky.common.unit.TimeValue
Returns a String representation of the current TimeValue.
toIllegalArgument(Rethrower.Procedure) - Static method in class cn.sliew.milky.common.exception.Rethrower
 
toIllegalState(Rethrower.Procedure) - Static method in class cn.sliew.milky.common.exception.Rethrower
 
toJsonNode(Object) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
toJsonNode(String) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
toJsonString(Object) - Static method in class cn.sliew.milky.common.util.JacksonUtil
serialize object to json string.
toKB(long) - Method in enum cn.sliew.milky.common.unit.ByteUnit
 
Token - Class in cn.sliew.milky.common.parse
 
TokenFormat - Class in cn.sliew.milky.common.parse
place holder parse util from junit5.
TokenFormat(char, char, char, char) - Constructor for class cn.sliew.milky.common.parse.TokenFormat
 
TokenFormat.Segment - Class in cn.sliew.milky.common.parse
 
tokenizeByCommaToSet(String) - Static method in class cn.sliew.milky.common.primitives.Strings
Tokenize the specified string by commas to a set, trimming whitespace and ignoring empty tokens.
tokenizeToStringArray(String, String) - Static method in class cn.sliew.milky.common.primitives.Strings
Tokenize the given String into a String array via a StringTokenizer.
TokenParseException - Exception in cn.sliew.milky.common.parse
 
TokenParseException() - Constructor for exception cn.sliew.milky.common.parse.TokenParseException
 
TokenParseException(long, boolean, String) - Constructor for exception cn.sliew.milky.common.parse.TokenParseException
 
TokenParseException(BizExceptionEnum) - Constructor for exception cn.sliew.milky.common.parse.TokenParseException
 
TokenParseException(String) - Constructor for exception cn.sliew.milky.common.parse.TokenParseException
 
TokenParseException(String, Throwable) - Constructor for exception cn.sliew.milky.common.parse.TokenParseException
 
TokenParseException(Throwable) - Constructor for exception cn.sliew.milky.common.parse.TokenParseException
 
toKilo(long) - Method in enum cn.sliew.milky.common.unit.SizeUnit
 
toLowercaseAscii(String) - Static method in class cn.sliew.milky.common.primitives.Strings
 
toMap() - Method in class cn.sliew.milky.common.chain.DefaultPipeline
 
toMap() - Method in interface cn.sliew.milky.common.chain.Pipeline
Converts this pipeline into an ordered Map whose keys are command names and whose values are commands.
toMap(JsonNode) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
toMB(long) - Method in enum cn.sliew.milky.common.unit.ByteUnit
 
toMega(long) - Method in enum cn.sliew.milky.common.unit.SizeUnit
 
toObject(JsonNode, TypeReference<T>) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
toObject(JsonNode, Class<T>) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
toPB(long) - Method in enum cn.sliew.milky.common.unit.ByteUnit
 
toPeta(long) - Method in enum cn.sliew.milky.common.unit.SizeUnit
 
toProps(String) - Static method in class cn.sliew.milky.common.util.JacksonUtil
 
toRuntime(Rethrower.Procedure) - Static method in class cn.sliew.milky.common.exception.Rethrower
Catch a checked exception and rethrow as a RuntimeException.
toRuntime(Callable<T>) - Static method in class cn.sliew.milky.common.exception.Rethrower
Catch a checked exception and rethrow as a RuntimeException
toSingles(long) - Method in enum cn.sliew.milky.common.unit.SizeUnit
 
toString() - Method in class cn.sliew.milky.common.chain.AbstractPipelineProcess
 
toString() - Method in class cn.sliew.milky.common.chain.DefaultPipeline
Returns the String representation of this pipeline.
toString() - Method in class cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Entry
 
toString() - Method in class cn.sliew.milky.common.collect.Tuple
 
toString() - Method in class cn.sliew.milky.common.constant.AbstractConstant
 
toString() - Method in class cn.sliew.milky.common.environment.AbstractPropertySource
 
toString() - Method in class cn.sliew.milky.common.environment.MutablePropertySources
 
toString() - Method in class cn.sliew.milky.common.explain.Explanation
Render an explanation as text.
toString() - Method in class cn.sliew.milky.common.parse.Token
Generate the unique, formatted string representation of this Token using the configured TokenFormat.
toString() - Method in class cn.sliew.milky.common.parse.TokenFormat.Segment
 
toString() - Method in class cn.sliew.milky.common.path.KeyMap
 
toString() - Method in class cn.sliew.milky.common.path.NameIterator
 
toString() - Method in class cn.sliew.milky.common.path.PathTrie.TrieNode
 
toString() - Method in class cn.sliew.milky.common.unit.ByteValue
 
toString() - Method in class cn.sliew.milky.common.unit.SizeValue
 
toString() - Method in class cn.sliew.milky.common.unit.TimeValue
Returns a String representation of the current TimeValue.
toString() - Method in class cn.sliew.milky.common.util.ToStringBuilder
 
toString() - Method in class cn.sliew.milky.common.version.SemVersion
 
toString(StringBuilder) - Method in class cn.sliew.milky.common.path.KeyMap
 
toStringArray(Collection<String>) - Static method in class cn.sliew.milky.common.primitives.Strings
Copy the given Collection into a String array.
ToStringBuilder - Class in cn.sliew.milky.common.util
Simple builder for generating strings in custom implementations of toString().
ToStringBuilder(Class<?>) - Constructor for class cn.sliew.milky.common.util.ToStringBuilder
 
ToStringBuilder(Object) - Constructor for class cn.sliew.milky.common.util.ToStringBuilder
 
ToStringBuilder(String) - Constructor for class cn.sliew.milky.common.util.ToStringBuilder
 
toTB(long) - Method in enum cn.sliew.milky.common.unit.ByteUnit
 
toTera(long) - Method in enum cn.sliew.milky.common.unit.SizeUnit
 
touch() - Method in interface cn.sliew.milky.common.reference.ReferenceCounted
Records the current access location of this object for debugging purposes.
touch(Object) - Method in interface cn.sliew.milky.common.reference.ReferenceCounted
Records the current access location of this object with an additional arbitrary information for debugging purposes.
TrieNode(String, T, String) - Constructor for class cn.sliew.milky.common.path.PathTrie.TrieNode
 
trimLeadingCharacter(String, char) - Static method in class cn.sliew.milky.common.primitives.Strings
Trim all occurrences of the supplied leading character from the given String.
TRUE - Static variable in class cn.sliew.milky.common.primitives.Booleans
 
trySet(T) - Method in class cn.sliew.milky.common.collect.SetOnce
Sets the given object if none was set before.
tuple(V1, V2) - Static method in class cn.sliew.milky.common.collect.Tuple
 
Tuple<V1,​V2> - Class in cn.sliew.milky.common.collect
 
Tuple(V1, V2) - Constructor for class cn.sliew.milky.common.collect.Tuple
 
type() - Method in interface cn.sliew.milky.common.state.StateEvent
Return type of this StateEvent

U

UNDEFINED_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
UNKNOWN_DEFAULT_RAM_BYTES_USED - Static variable in class cn.sliew.milky.common.util.RamUsageEstimator
Approximate memory usage that we assign to all unknown objects - this maps roughly to a few primitive fields and a couple short String-s.
UNKNOWN_EXCEPTION - cn.sliew.milky.common.exception.BizExceptionEnum
 
unregister() - Method in class cn.sliew.milky.common.watchdog.DefaultThreadWatchdog
 
unregister() - Method in class cn.sliew.milky.common.watchdog.Noop
 
unregister() - Method in interface cn.sliew.milky.common.watchdog.ThreadWatchdog
Unregisters the current thread and prevents it from being interrupted.
unsupport(String) - Static method in class cn.sliew.milky.common.lifecycle.LifeCycle.LifeCycleSupportResult
 
updateKeyWithNamedWildcard(String) - Method in class cn.sliew.milky.common.path.PathTrie.TrieNode
 
upMajor() - Method in class cn.sliew.milky.common.version.SemVersion
 
upMinor() - Method in class cn.sliew.milky.common.version.SemVersion
 
upPatch() - Method in class cn.sliew.milky.common.version.SemVersion
 
upserts - Variable in class cn.sliew.milky.common.diff.MapDiff
 

V

v1() - Method in class cn.sliew.milky.common.collect.Tuple
 
v2() - Method in class cn.sliew.milky.common.collect.Tuple
 
value() - Method in class cn.sliew.milky.common.recycler.NoneRecycler.NoneValue
 
value() - Method in interface cn.sliew.milky.common.recycler.Value
 
Value<V> - Interface in cn.sliew.milky.common.recycler
 
valueOf(Class<?>, String) - Static method in class cn.sliew.milky.common.constant.AttributeKey
 
valueOf(Class<?>, String) - Method in class cn.sliew.milky.common.constant.ConstantPool
valueOf(String) - Static method in enum cn.sliew.milky.common.cache.local.RemovalNotification.RemovalReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.check.Asserts
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.check.Assumes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.check.Ensures
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.check.Requires
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.ReferenceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Restructure
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class cn.sliew.milky.common.constant.AttributeKey
Returns the singleton instance of the AttributeKey which has the specified name.
valueOf(String) - Method in class cn.sliew.milky.common.constant.ConstantPool
Returns the Constant which is assigned to the specified name.
valueOf(String) - Static method in class cn.sliew.milky.common.constant.Tag
Returns the singleton instance of the Tag which has the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.exception.BizExceptionEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.lifecycle.LifeCycle.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.stopwatch.DisabledTicker
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.stopwatch.StopWatchs
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.stopwatch.SystemTicker
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.stopwatch.Tickers
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.unit.ByteUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.unit.SizeUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.unit.TimeValues
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cn.sliew.milky.common.watchdog.ThreadWatchdogs
Returns the enum constant of this type with the specified name.
ValueParseException - Exception in cn.sliew.milky.common.unit
 
ValueParseException() - Constructor for exception cn.sliew.milky.common.unit.ValueParseException
 
ValueParseException(long, boolean, String) - Constructor for exception cn.sliew.milky.common.unit.ValueParseException
 
ValueParseException(BizExceptionEnum) - Constructor for exception cn.sliew.milky.common.unit.ValueParseException
 
ValueParseException(String) - Constructor for exception cn.sliew.milky.common.unit.ValueParseException
 
ValueParseException(String, Throwable) - Constructor for exception cn.sliew.milky.common.unit.ValueParseException
 
ValueParseException(Throwable) - Constructor for exception cn.sliew.milky.common.unit.ValueParseException
 
values() - Method in class cn.sliew.milky.common.cache.local.Cache
An LRU sequencing of the values in the cache.
values() - Static method in enum cn.sliew.milky.common.cache.local.RemovalNotification.RemovalReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.check.Asserts
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.check.Assumes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.check.Ensures
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.check.Requires
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.ReferenceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Restructure
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.exception.BizExceptionEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.lifecycle.LifeCycle.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.stopwatch.DisabledTicker
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.stopwatch.StopWatchs
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.stopwatch.SystemTicker
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.stopwatch.Tickers
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.unit.ByteUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.unit.SizeUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.unit.TimeValues
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum cn.sliew.milky.common.watchdog.ThreadWatchdogs
Returns an array containing the constants of this enum type, in the order they are declared.

W

WEAK - cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.ReferenceType
weigher(ToLongBiFunction<K, V>) - Method in class cn.sliew.milky.common.cache.local.CacheBuilder
 
weight() - Method in class cn.sliew.milky.common.cache.local.Cache
The weight of the entries in the cache.
WHEN_NECESSARY - cn.sliew.milky.common.collect.ConcurrentReferenceHashMap.Restructure
 
withDetail(Explanation...) - Method in class cn.sliew.milky.common.explain.Explanation
 
wrap(byte[]) - Static method in class cn.sliew.milky.common.io.stream.StreamInput
 
wrap(byte[], int, int) - Static method in class cn.sliew.milky.common.io.stream.StreamInput
 
wrap(Runnable, ActionListener) - Static method in interface cn.sliew.milky.common.filter.ActionListener
 
wrap(Callable<T>, ActionListener<T>) - Static method in interface cn.sliew.milky.common.filter.ActionListener
 
wrapException(String, Exception) - Static method in class cn.sliew.milky.common.exception.ExceptionFactory
todo Explanation
Writable - Interface in cn.sliew.milky.common.io.stream
todo 如果使用它作为transport层的传输对象,则无法嵌入自定义的协议
Writable.Writer<V> - Interface in cn.sliew.milky.common.io.stream
 
write(byte[], int, int) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
write(int) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
write(StreamOutput, V) - Method in interface cn.sliew.milky.common.io.stream.Writable.Writer
Write V-type value to the output stream.
writeBoolean(boolean) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeByte(byte) - Method in class cn.sliew.milky.common.io.stream.OutputStreamStreamOutput
 
writeByte(byte) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes a single byte.
writeBytes(byte[]) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes an array of bytes.
writeBytes(byte[], int) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes an array of bytes.
writeBytes(byte[], int, int) - Method in class cn.sliew.milky.common.io.stream.OutputStreamStreamOutput
 
writeBytes(byte[], int, int) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes an array of bytes.
writeDouble(double) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeFloat(float) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeGenericValue(Object) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Notice: when serialization a map, the stream out map with the stream in map maybe have the different key-value orders, they will maybe have different stream order.
writeInt(int) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes an int as four bytes.
writeLong(long) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes a long as eight bytes.
writeOptionalBoolean(Boolean) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeOptionalDouble(Double) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeOptionalFloat(Float) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeOptionalInt(Integer) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes an optional Integer.
writeOptionalLong(Long) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeOptionalVInt(Integer) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeOptionalVLong(Long) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeShort(short) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
 
writeTo(StreamOutput) - Method in interface cn.sliew.milky.common.io.stream.Writable
Write this object's fields to a StreamOutput.
writeVInt(int) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes an int in a variable-length format.
writeVLong(long) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes a non-negative long in a variable-length format.
writeZLong(long) - Method in class cn.sliew.milky.common.io.stream.StreamOutput
Writes a long in a variable-length format.

Z

ZERO - Static variable in class cn.sliew.milky.common.unit.ByteValue
 
ZERO - Static variable in class cn.sliew.milky.common.unit.TimeValue
 
zigZagDecode(int) - Static method in class cn.sliew.milky.common.util.BitUtil
Decode an int previously encoded with BitUtil.zigZagEncode(int).
zigZagDecode(long) - Static method in class cn.sliew.milky.common.util.BitUtil
Decode a long previously encoded with BitUtil.zigZagEncode(long).
zigZagEncode(int) - Static method in class cn.sliew.milky.common.util.BitUtil
Same as BitUtil.zigZagEncode(long) but on integers.
zigZagEncode(long) - Static method in class cn.sliew.milky.common.util.BitUtil
Zig-zag encode the provided long.
A B C D E F G H I J K L M N O P Q R S T U V W Z 
All Classes All Packages