All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sksamuel.elastic4s.requests.task.CancelTasksRequest.scala Maven / Gradle / Ivy

There is a newer version: 8.15.1
Show newest version
package com.sksamuel.elastic4s.requests.task

import scala.concurrent.duration.FiniteDuration

case class CancelTasksRequest(nodeIds: Seq[String],
                              timeout: Option[FiniteDuration] = None,
                              actions: Seq[String] = Nil) {
  def actions(first: String, rest: String*): CancelTasksRequest = actions(first +: rest)
  def actions(actions: Iterable[String]): CancelTasksRequest = copy(actions = actions.toSeq)
}

case class CancelTaskByIdRequest(nodeId: String, taskId: String)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy