Interface RetryStorageOperation.RepeatOperation<Ex extends Throwable>

Enclosing class:
RetryStorageOperation

public static interface RetryStorageOperation.RepeatOperation<Ex extends Throwable>
An action that may fail because of expired credentials.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    act()
     
    void
     
    boolean
     
  • Method Details

    • initCredentials

      void initCredentials() throws IOException, Ex
      Throws:
      IOException
      Ex
    • act

      void act() throws com.google.api.client.http.HttpResponseException, IOException, InterruptedException, com.google.jenkins.plugins.util.ExecutorException, Ex
      Throws:
      com.google.api.client.http.HttpResponseException
      IOException
      InterruptedException
      com.google.jenkins.plugins.util.ExecutorException
      Ex
    • moreWork

      boolean moreWork()