同步操作将从 Stefan/Java8Source 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/** Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.*********************/package javax.management;// java importimport java.io.Serializable;/*** Allows a query to be performed in the context of a specific MBean server.** @since 1.5*/public abstract class QueryEval implements Serializable {/* Serial version */private static final long serialVersionUID = 2675899265640874796L;private static ThreadLocal<MBeanServer> server =new InheritableThreadLocal<MBeanServer>();/*** <p>Sets the MBean server on which the query is to be performed.* The setting is valid for the thread performing the set.* It is copied to any threads created by that thread at the moment* of their creation.</p>** <p>For historical reasons, this method is not static, but its* behavior does not depend on the instance on which it is* called.</p>** @param s The MBean server on which the query is to be performed.** @see #getMBeanServer*/public void setMBeanServer(MBeanServer s) {server.set(s);}/*** <p>Return the MBean server that was most recently given to the* {@link #setMBeanServer setMBeanServer} method by this thread.* If this thread never called that method, the result is the* value its parent thread would have obtained from* <code>getMBeanServer</code> at the moment of the creation of* this thread, or null if there is no parent thread.</p>** @return the MBean server.** @see #setMBeanServer**/public static MBeanServer getMBeanServer() {return server.get();}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。