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) |
Modifier and Type | Method and Description |
---|---|
void |
enterMainThread() |
void |
exitMainThread() |
public MainThreadValidatorUtil(RpcEndpoint endpoint)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.