Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for LazyLogger (0.05 sec)

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

    import org.jspecify.annotations.Nullable;
    
    /** A holder for a {@link Logger} that is initialized only when requested. */
    @GwtCompatible
    final class LazyLogger {
      private final Object lock = new Object();
    
      private final String loggerName;
      private volatile @Nullable Logger logger;
    
      LazyLogger(Class<?> ownerOfLogger) {
        this.loggerName = ownerOfLogger.getName();
      }
    
      Logger get() {
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFutureState.java

      final @Nullable Listener listeners() {
        return listeners;
      }
    
      final void releaseWaiters() {}
    
      AbstractFutureState() {}
    
      static final Object NULL = new Object();
    
      static final LazyLogger log = new LazyLogger(AbstractFuture.class);
    
      static final boolean GENERATE_CANCELLATION_CAUSES = false;
    
      private volatile @Nullable Object value;
    
      private volatile @Nullable Listener listeners;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Feb 21 02:38:37 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

      @VisibleForTesting
      interface RuntimeWrapper {
        void exit(int status);
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final RuntimeWrapper runtime;
    
        Exiter(RuntimeWrapper runtime) {
          this.runtime = runtime;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

      @VisibleForTesting
      interface RuntimeWrapper {
        void exit(int status);
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final RuntimeWrapper runtime;
    
        Exiter(RuntimeWrapper runtime) {
          this.runtime = runtime;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     * @author Sven Mawson
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class ExecutionList {
      /** Logger to log exceptions caught when running runnables. */
      private static final LazyLogger log = new LazyLogger(ExecutionList.class);
    
      /**
       * The runnable, executor pairs to execute. This acts as a stack threaded through the {@link
       * RunnableExecutorPair#next} field.
       */
      @GuardedBy("this")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

    class ImmediateFuture<V extends @Nullable Object> implements ListenableFuture<V> {
      static final ListenableFuture<?> NULL = new ImmediateFuture<@Nullable Object>(null);
    
      private static final LazyLogger log = new LazyLogger(ImmediateFuture.class);
    
      @ParametricNullness private final V value;
    
      ImmediateFuture(@ParametricNullness V value) {
        this.value = value;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      volatile @Nullable Set<Throwable> seenExceptionsField = null;
    
      volatile int remainingField;
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
        Throwable thrownReflectionFailure = null;
        try {
          helper = new SafeAtomicHelper();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

     * restarted by a call to {@link #execute}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class SequentialExecutor implements Executor {
      private static final LazyLogger log = new LazyLogger(SequentialExecutor.class);
    
      enum WorkerRunningState {
        /** Runnable is not running and not queued for execution */
        IDLE,
        /** Runnable is not running, but is being queued for execution */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ExecutionList.java

     * @author Sven Mawson
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class ExecutionList {
      /** Logger to log exceptions caught when running runnables. */
      private static final LazyLogger log = new LazyLogger(ExecutionList.class);
    
      /**
       * The runnable, executor pairs to execute. This acts as a stack threaded through the {@link
       * RunnableExecutorPair#next} field.
       */
      @GuardedBy("this")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    final class ListenerCallQueue<L> {
      // TODO(cpovirk): consider using the logger associated with listener.getClass().
      private static final LazyLogger logger = new LazyLogger(ListenerCallQueue.class);
    
      // TODO(chrisn): promote AppendOnlyCollection for use here.
      private final List<PerListenerQueue<L>> listeners =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top