Class FeignLocationGroupLoader

java.lang.Object
org.openwms.tms.routing.routes.impl.FeignLocationGroupLoader
All Implemented Interfaces:
LocationGroupLoader

@Component class FeignLocationGroupLoader extends Object implements LocationGroupLoader
A LocationGroupLoader.
Author:
Heiko Scherrer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.openwms.common.location.api.LocationGroupApi
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    FeignLocationGroupLoader(org.openwms.common.location.api.LocationGroupApi locationGroupApi)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.openwms.common.location.api.LocationGroupVO>
    This public method is surrounded with a retry advice in order to retry the remote operation in case of an error.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • locationGroupApi

      private final org.openwms.common.location.api.LocationGroupApi locationGroupApi
  • Constructor Details

    • FeignLocationGroupLoader

      FeignLocationGroupLoader(org.openwms.common.location.api.LocationGroupApi locationGroupApi)
  • Method Details

    • loadLocGroups

      @Measured @Retryable(backoff=@Backoff(delay=5000L)) public Collection<org.openwms.common.location.api.LocationGroupVO> loadLocGroups()
      This public method is surrounded with a retry advice in order to retry the remote operation in case of an error.
      Specified by:
      loadLocGroups in interface LocationGroupLoader
      Returns:
      All LocationGroups as List implementation