public interface ThreadSafeRpcEndpoint extends RpcEndpoint
Thread-safety means processing of one message happens before processing of the next message by
ThreadSafeRpcEndpoint. In the other words, changes to internal fields of a
ThreadSafeRpcEndpoint are visible when processing the next message, and fields in the
ThreadSafeRpcEndpoint need not be volatile or equivalent.
However, there is no guarantee that the same thread will be executing the same
ThreadSafeRpcEndpoint for different messages.