Class Defaults

java.lang.Object
org.distributeme.core.Defaults

public class Defaults extends Object
This class provides methods for runtime overriding of the default behaviour.
Version:
$Id: $Id
Author:
lrosenberg
  • Constructor Details

    • Defaults

      public Defaults()
  • Method Details

    • getDefaultFailingStrategy

      public static final FailingStrategy getDefaultFailingStrategy()
      Returns the default failing strategy.
      Returns:
      a FailingStrategy object.
    • getDefaultConcurrencyControlStrategy

      public static final ConcurrencyControlStrategy getDefaultConcurrencyControlStrategy()

      getDefaultConcurrencyControlStrategy.

      Returns:
      a ConcurrencyControlStrategy object.
    • getDefaultAsynchCallTimeout

      public static final long getDefaultAsynchCallTimeout()

      getDefaultAsynchCallTimeout.

      Returns:
      a long.
    • getAsynchExecutorPoolSize

      public static final int getAsynchExecutorPoolSize()

      getAsynchExecutorPoolSize.

      Returns:
      a int.
    • getRemoteConsumerWrapperErrorLimit

      public static final int getRemoteConsumerWrapperErrorLimit()
      How many errors a RemoteConsumerWrapper can encounter before rendering itself inactive and cuting of this consumer. DEFAULT = 5.
      Returns: