Class PropertyInterceptorUtil

java.lang.Object
org.distributeme.core.interceptor.availabilitytesting.PropertyInterceptorUtil

public class PropertyInterceptorUtil extends Object
Utility to handle availabilitytesting properties..
Version:
$Id: $Id
Author:
lrosenberg
  • Constructor Details

    • PropertyInterceptorUtil

      public PropertyInterceptorUtil()
  • Method Details

    • extractServiceIds

      public static List<String> extractServiceIds()

      extractServiceIds.

      Returns:
      a List object.
    • getSlowDownTime

      public static final long getSlowDownTime()

      getSlowDownTime.

      Returns:
      a long.
    • isServiceIdConfiguredByProperty

      public static boolean isServiceIdConfiguredByProperty(String serviceId)

      isServiceIdConfiguredByProperty.

      Parameters:
      serviceId - a String object.
      Returns:
      a boolean.
    • flip

      public static boolean flip()
      Returns true if the service should be flipped.
      Returns:
      a boolean.