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

com.ing.baker.runtime.javadsl.EventResolutions.scala Maven / Gradle / Ivy

package com.ing.baker.runtime.javadsl

import java.util.concurrent.CompletableFuture

import com.ing.baker.runtime.common
import com.ing.baker.runtime.common.LanguageDataStructures.JavaApi
import com.ing.baker.runtime.common.SensoryEventStatus

case class EventResolutions(resolveWhenReceived: CompletableFuture[SensoryEventStatus],
                            resolveWhenCompleted: CompletableFuture[SensoryEventResult]
) extends common.EventResolutions[CompletableFuture] with JavaApi {

  type SensoryEventResultType = SensoryEventResult

  def getResolveWhenReceived: CompletableFuture[SensoryEventStatus] = resolveWhenReceived

  def getResolveWhenCompleted: CompletableFuture[SensoryEventResult] = resolveWhenCompleted
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy