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.Constructor and Description |
---|
MainThreadValidatorUtil(RpcEndpoint<?> endpoint) |
public MainThreadValidatorUtil(RpcEndpoint<?> endpoint)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.