StatelessServiceBase.onCloseAsync(CancellationToken cancellationToken) 方法
定义
This method is called as the final step of closing the service. Override this method to be notified that Close has completed for this instance's internal components.
protected CompletableFuture<?> onCloseAsync(CancellationToken cancellationToken)
参数
- cancellationToken
- CancellationToken
CancellationToken object to indicate the cancellation status of the operation.
返回
CompletableFuture<?>
A CompletableFuture that represents outstanding operation.