public ActionFuture < IndexResponse > sendDataAsyncWithObjectMapper ( Object sourceObject , String index , String type , String id ) { return indexQueryAsync ( buildIndexRequest ( JMElasticsearchUtil . buildSourceByJsonMapper ( sourceObject ) , index , type , id ) ) ; }
Send data async with object mapper action future .