public class RemoteTaskActionClient extends Object implements TaskActionClient
Constructor and Description |
---|
RemoteTaskActionClient(Task task,
com.metamx.http.client.HttpClient httpClient,
ServerDiscoverySelector selector,
RetryPolicyFactory retryPolicyFactory,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
public RemoteTaskActionClient(Task task, com.metamx.http.client.HttpClient httpClient, ServerDiscoverySelector selector, RetryPolicyFactory retryPolicyFactory, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
public <RetType> RetType submit(TaskAction<RetType> taskAction) throws IOException
submit
in interface TaskActionClient
IOException
Copyright © 2011–2015. All rights reserved.