Class ProviderFutureFactory

java.lang.Object
org.apache.qpid.jms.provider.ProviderFutureFactory

public abstract class ProviderFutureFactory extends Object
Factory for provider future instances that will create specific versions based on configuration.
  • Field Details

  • Constructor Details

    • ProviderFutureFactory

      public ProviderFutureFactory()
  • Method Details

    • create

      public static ProviderFutureFactory create(Map<String,String> providerOptions)
      Create a new Provider
      Parameters:
      providerOptions - Configuration options to be consumed by this factory create method
      Returns:
      a new ProviderFutureFactory that will be used to create the desired future types.
    • createFuture

      public abstract ProviderFuture createFuture()
      Returns:
      a new ProviderFuture instance.
    • createFuture

      public abstract ProviderFuture createFuture(ProviderSynchronization synchronization)
      Parameters:
      synchronization - The ProviderSynchronization to assign to the returned ProviderFuture.
      Returns:
      a new ProviderFuture instance.
    • createUnfailableFuture

      public abstract ProviderFuture createUnfailableFuture()
      Returns:
      a ProviderFuture that treats failures as success calls that simply complete the operation.