Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 109 for volatile (0.21 sec)

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

      //
      // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field
      // 'inputFuture'. That field is non-final and non-volatile. There are 2 places where the
      // 'inputFuture' field is read and where we will have to consider visibility of the write
      // operation in the constructor.
      //
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * without it because it is an immutable object in a volatile field. This is desirable so that
       * methods like {@link #state}, {@link #failureCause} and notably {@link #toString} can be run
       * without grabbing the lock.
       *
       * <p>To update this field correctly the lock must be held to guarantee that the state is
       * consistent.
       */
      private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

        protected long userCheckInterval = 10 * 60 * 1000L;// 10 min
    
        protected int userInfoCacheSize = 10000;
    
        protected volatile Queue<SearchLog> searchLogQueue = new ConcurrentLinkedQueue<>();
    
        protected volatile Queue<ClickLog> clickLogQueue = new ConcurrentLinkedQueue<>();
    
        protected LoadingCache<String, UserInfo> userInfoCache;
    
        protected String loggerName = "fess.log.searchlog";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

        private static final Logger logger = LogManager.getLogger(IndexUpdateCallbackImpl.class);
    
        protected AtomicLong documentSize = new AtomicLong(0);
    
        protected volatile long executeTime = 0;
    
        protected final DocList docList = new DocList();
    
        protected long maxDocumentRequestSize;
    
        protected int maxDocumentCacheSize;
    
        private IngestFactory ingestFactory = null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

          new UncaughtExceptionHandler() {
            @Override
            public void uncaughtException(Thread t, Throwable e) {
              // No-op
            }
          };
    
      private ThreadFactoryBuilder builder;
      private volatile boolean completed = false;
    
      @Override
      public void setUp() {
        builder = new ThreadFactoryBuilder();
      }
    
      public void testThreadFactoryBuilder_defaults() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        // A handle to the running task so that we can stop it when a shutdown has been requested.
        // These two fields are volatile because their values will be accessed from multiple threads.
        @CheckForNull private volatile Cancellable runningTask;
        @CheckForNull private volatile ScheduledExecutorService executorService;
    
        // This lock protects the task so we can ensure that none of the template methods (startUp,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        private final SmbNamedPipe pipe;
        private final boolean transact;
        private final boolean call;
    
        private final int openFlags;
        private final int access;
        private volatile boolean open = true;
    
        private SmbFileHandleImpl handle;
        private SmbPipeOutputStream output;
        private SmbPipeInputStream input;
    
        private final String uncPath;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

      }
    
      private static final class NoOpScheduledExecutorService extends AbstractListeningExecutorService
          implements ListeningScheduledExecutorService {
    
        private volatile boolean shutdown;
    
        @Override
        public void shutdown() {
          shutdown = true;
        }
    
        @Override
        public List<Runnable> shutdownNow() {
          shutdown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

        private final CIFSContext ctx;
        private final SmbTreeConnection delegate;
        private SmbTreeImpl tree;
        private volatile boolean treeAcquired;
        private volatile boolean delegateAcquired;
    
        private SmbTransportInternal exclusiveTransport;
        private boolean nonPooled;
    
        private final AtomicLong usageCount = new AtomicLong();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

          throw AssertionError("No System TLS: $e", e) // The system has no TLS. Just give up.
        }
      }
    
      override fun toString(): String = javaClass.simpleName
    
      companion object {
        @Volatile private var platform = findPlatform()
    
        const val INFO = 4
        const val WARN = 5
    
        private val logger = Logger.getLogger(OkHttpClient::class.java.name)
    
        @JvmStatic
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top