Tabnine Logo
Task.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.elasticsearch.tasks.Task
constructor

Best Java code snippets using org.elasticsearch.tasks.Task.<init> (Showing top 7 results out of 315)

origin: org.elasticsearch/elasticsearch

/**
 * Returns the task object that should be used to keep track of the processing of the request.
 *
 * A request can override this method and return null to avoid being tracked by the task
 * manager.
 */
default Task createTask(long id, String type, String action, TaskId parentTaskId, Map<String, String> headers) {
  return new Task(id, type, action, getDescription(), parentTaskId, headers);
}
origin: com.strapdata.elasticsearch/elasticsearch

/**
 * Returns the task object that should be used to keep track of the processing of the request.
 *
 * A request can override this method and return null to avoid being tracked by the task
 * manager.
 */
default Task createTask(long id, String type, String action, TaskId parentTaskId) {
  return new Task(id, type, action, getDescription(), parentTaskId);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

/**
 * Returns the task object that should be used to keep track of the processing of the request.
 *
 * A request can override this method and return null to avoid being tracked by the task
 * manager.
 */
default Task createTask(long id, String type, String action, TaskId parentTaskId, Map<String, String> headers) {
  return new Task(id, type, action, getDescription(), parentTaskId, headers);
}
origin: apache/servicemix-bundles

/**
 * Returns the task object that should be used to keep track of the processing of the request.
 *
 * A request can override this method and return null to avoid being tracked by the task
 * manager.
 */
default Task createTask(long id, String type, String action, TaskId parentTaskId, Map<String, String> headers) {
  return new Task(id, type, action, getDescription(), parentTaskId, headers);
}
origin: harbby/presto-connectors

/**
 * Returns the task object that should be used to keep track of the processing of the request.
 *
 * A request can override this method and return null to avoid being tracked by the task manager.
 */
public Task createTask(long id, String type, String action) {
  return new Task(id, type, action, getDescription());
}
origin: harbby/presto-connectors

public Task createTask(long id, String type, String action, TaskId parentTaskId) {
  return new Task(id, type, action, getDescription(), parentTaskId);
}
origin: harbby/presto-connectors

  public Task createTask(long id, String type, String action, TaskId parentTaskId) {
    return new Task(id, type, action, getDescription(), parentTaskId);
  }
}
org.elasticsearch.tasksTask<init>

Popular methods of Task

  • getId
    Returns task id
  • getAction
    Returns task action
  • taskInfo
    Build a version of the task status you can throw over the wire and back to the user.
  • getDescription
    Generates task description
  • getParentTaskId
    Returns id of the parent task or NO_PARENT_ID if the task doesn't have any parent tasks
  • getStatus
    Build a status for this task or null if this task doesn't have status. Since most tasks don't have s
  • getType
    Returns task channel type (netty, transport, direct)
  • result

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Permission (java.security)
    Legacy security code; do not use.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JPanel (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now