Codota Logo
TaskOperations.cleanup
Code IndexAdd Codota to your IDE (free)

How to use
cleanup
method
in
org.springframework.cloud.dataflow.rest.client.TaskOperations

Best Java code snippets using org.springframework.cloud.dataflow.rest.client.TaskOperations.cleanup (Showing top 2 results out of 315)

  • Common ways to obtain TaskOperations
private void myMethod () {
TaskOperations t =
  • Codota IconDataFlowOperations dataFlowOperations;dataFlowOperations.taskOperations()
  • Smart code suggestions by Codota
}
origin: spring-cloud/spring-cloud-dataflow

@CliCommand(value = TASK_EXECUTION_CLEANUP, help = "Clean up any platform specific resources linked to a task "
    + "execution")
public String cleanup(@CliOption(key = { "", "id" }, help = "the task execution id", mandatory = true) long id) {
  taskOperations().cleanup(id);
  return String.format("Request to clean up resources for task execution %s has been submitted", id);
}
origin: org.springframework.cloud/spring-cloud-dataflow-shell-core

@CliCommand(value = TASK_EXECUTION_CLEANUP, help = "Clean up any platform specific resources linked to a task "
    + "execution")
public String cleanup(@CliOption(key = { "", "id" }, help = "the task execution id", mandatory = true) long id) {
  taskOperations().cleanup(id);
  return String.format("Request to clean up resources for task execution %s has been submitted", id);
}
org.springframework.cloud.dataflow.rest.clientTaskOperationscleanup

Javadoc

Cleanup any resources associated with the execution for the id specified.

Popular methods of TaskOperations

  • launch
    Launch an already created task.
  • currentTaskExecutions
    Return information including the count of currently executing tasks and task execution limits.
  • create
    Create a new task definition
  • destroy
    Destroy an existing task.
  • destroyAll
    Destroy all existing tasks.
  • executionList
  • executionListByTaskName
    List task executions known to the system filtered by task name.
  • list
  • listPlatforms
  • taskExecutionStatus
    Return the TaskExecutionResource for the id specified.
  • validateTaskDefinition
    Return the validation status for the tasks in an definition.
  • validateTaskDefinition

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now