Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GuardedBy (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

      /**
       * The runnable, executor pairs to execute. This acts as a stack threaded through the {@link
       * RunnableExecutorPair#next} field.
       */
      @GuardedBy("this")
      @CheckForNull
      private RunnableExecutorPair runnables;
    
      @GuardedBy("this")
      private boolean executed;
    
      /** Creates a new, empty {@link ExecutionList}. */
      public ExecutionList() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

         *   - Active: shutdown == false
         *   - Shutdown: runningTasks > 0 and shutdown == true
         *   - Terminated: runningTasks == 0 and shutdown == true
         */
        @GuardedBy("lock")
        private int runningTasks = 0;
    
        @GuardedBy("lock")
        private boolean shutdown = false;
    
        @Override
        public void execute(Runnable command) {
          startTask();
          try {
            command.run();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top