processing of the result of an action method by a custom type that inherits from the <see cref="T:System.Web.Mvc.ActionResultcontext.HttpContext.Response.Flush();}
让我害怕的是,所有的操作都是同步的是否可以使用异步调用来优化此代码?
在Amazon Web Services sdk for java中,可以为DynamoDB创建两个不同的客户端:同步和异步。然后可以将这两个对象传递给DynamoDBMapper的构造函数。因此,您应该能够创建两种不同的DynamoDBMapper:同步映射器和异步映射器。
我的问题是:异步映射器是如何工作的?我在异步映射器中找不到任何返回Future对象的方法