程序包 com.alibaba.csp.sentinel.context
package com.alibaba.csp.sentinel.context
-
类说明This class holds metadata of current invocation:
theEntranceNode: the root of the current invocation tree. the currentEntry: the current invocation point. the currentNode: the statistics related to theEntry. the origin: The origin is useful when we want to control different invoker/consumer separately.Utility class to get or createContextin current thread.If totalContextexceedConstants.MAX_CONTEXT_NAME_SIZE, aNullContextwill get when invokeContextUtil.enter(), means no rules checking will do.