private void stop ( RpcEndpointTerminationResult rpcEndpointTerminationResult ) { if ( rpcEndpointStopped . compareAndSet ( false , true ) ) { this . rpcEndpointTerminationResult = rpcEndpointTerminationResult ; getContext ( ) . stop ( getSelf ( ) ) ; } }
Stop the actor immediately .