All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.taobao.eagleeye.LocalContext_inner Maven / Gradle / Ivy

There is a newer version: 1.8.3
Show newest version
package com.taobao.eagleeye;

/**
 * 本地调用上下文
 * @since 1.5.0-exported
 */
class LocalContext_inner extends AbstractContext {

	LocalContext_inner(String _traceId, String _rpcId, RpcContext_inner rpcParent) {
		super(_traceId, _rpcId);
	}

	/**
	 * 返回当前本地调用的 parent(上一级本地调用)
	 * @return
	 */
	public LocalContext_inner getLocalParent() {
		return null;
	}

	/**
	 * 设置本地调用的 parent(上一级本地调用)
	 * @param localParent
	 */
	public void setLocalParent(LocalContext_inner localParent) {
	}

	/**
	 * 返回当前本地调用所属的 RPC 调用上下文
	 * @return
	 */
	public RpcContext_inner getRpcParent() {
		return null;
	}

	/**
	 * 检查当前本地调用是否已结束
	 * @return
	 */
	public boolean isEnd() {
		return false;
	}

	/**
	 * 设置当前本地调用是否已结束
	 * @param isEnd
	 */
	public void setEnd(boolean isEnd) {
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy