Class AmazonS3Authority.GrantsThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    AmazonS3Authority

    protected static class AmazonS3Authority.GrantsThread
    extends java.lang.Thread
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.amazonaws.services.s3.AmazonS3 amazonS3  
      protected java.lang.Throwable exception  
      protected boolean result  
      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      GrantsThread​(com.amazonaws.services.s3.AmazonS3 amazonS3)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void finishUp()  
      java.util.HashMap<java.lang.String,​java.util.Set<com.amazonaws.services.s3.model.Grant>> getResult()  
      void run()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • exception

        protected java.lang.Throwable exception
      • result

        protected boolean result
      • amazonS3

        protected com.amazonaws.services.s3.AmazonS3 amazonS3
    • Constructor Detail

      • GrantsThread

        public GrantsThread​(com.amazonaws.services.s3.AmazonS3 amazonS3)
    • Method Detail

      • finishUp

        public void finishUp()
                      throws java.lang.InterruptedException,
                             java.io.IOException,
                             ResponseException
        Throws:
        java.lang.InterruptedException
        java.io.IOException
        ResponseException
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread
      • getResult

        public java.util.HashMap<java.lang.String,​java.util.Set<com.amazonaws.services.s3.model.Grant>> getResult()