public final class MainThreadValidatorUtil extends Object
currentMainThread
field in the RpcEndpoint
.
The currentMainThread
can be hidden from RpcEndpoint
implementations
and only be accessed via this utility from other packages.构造器和说明 |
---|
MainThreadValidatorUtil(RpcEndpoint endpoint) |
public MainThreadValidatorUtil(RpcEndpoint endpoint)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.