Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getAnnotation (0.51 sec)

  1. android/guava/src/com/google/common/eventbus/Subscriber.java

       * Checks whether {@code method} is thread-safe, as indicated by the presence of the {@link
       * AllowConcurrentEvents} annotation.
       */
      private static boolean isDeclaredThreadSafe(Method method) {
        return method.getAnnotation(AllowConcurrentEvents.class) != null;
      }
    
      /**
       * Subscriber that synchronizes invocations of a method to ensure that only one thread may enter
       * the method at a time.
       */
      @VisibleForTesting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
Back to top