Class CommonTimeoutService

java.lang.Object
energy.eddie.regionconnector.shared.timeout.CommonTimeoutService

public class CommonTimeoutService extends Object
  • Constructor Details

  • Method Details

    • timeout

      public void timeout()
      Times out all permission requests returned by the StalePermissionRequestRepository. Depending on the status of the permission request, different events are emitted. If the permission request has the status VALIDATED an event with the status SENT_TO_PERMISSION_ADMINISTRATOR and another event with the status TIMED_OUT are emitted. If the permission request has the status SENT_TO_PERMISSION_ADMINISTRATOR only the timed-out event is emitted.