- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 69 for volatile (1.68 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
super(); } /** * A map containing query information for KeyMatch. * The key is a virtual host, and the value is a map of terms and boost information. */ protected volatile Map<String, Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>>> keyMatchQueryMap = Collections.emptyMap(); /** * Initializes the helper.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
/** Map of path mappings by process type. */ protected final Map<String, List<PathMapping>> pathMappingMap = new HashMap<>(); /** Cached list of path mappings. */ protected volatile List<PathMapping> cachedPathMappingList = null; /** * Initializes the path mapping helper. */ @PostConstruct public void init() { if (logger.isDebugEnabled()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
android/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. private volatile @Nullable Cancellable runningTask; private volatile @Nullable ScheduledExecutorService executorService; // This lock protects the task so we can ensure that none of the template methods (startUp,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
* * @author Justin T. Sampson */ @NullUnmarked public abstract class MonitorTestCase extends TestCase { public class TestGuard extends Monitor.Guard { private volatile boolean satisfied; public TestGuard(boolean satisfied) { super(MonitorTestCase.this.monitor); this.satisfied = satisfied; } @Override public boolean isSatisfied() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
GcFinalization.awaitDone(() -> reference.finalizeReferentCalled); } static class MockReference extends FinalizableWeakReference<Object> { volatile boolean finalizeReferentCalled; MockReference(FinalizableReferenceQueue frq) { super(new Object(), frq); } @Override public void finalizeReferent() { finalizeReferentCalled = true;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
GcFinalization.awaitDone(() -> reference.finalizeReferentCalled); } static class MockReference extends FinalizableWeakReference<Object> { volatile boolean finalizeReferentCalled; MockReference(FinalizableReferenceQueue frq) { super(new Object(), frq); } @Override public void finalizeReferent() { finalizeReferentCalled = true;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
.testAllPublicInstanceMethods(manager); } private static final class RecordingListener extends ServiceManager.Listener { volatile boolean healthyCalled; volatile boolean stoppedCalled; final Set<Service> failedServices = Sets.newConcurrentHashSet(); @Override public void healthy() { healthyCalled = true; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
} /** Atomic counter for the number of documents processed */ protected AtomicLong documentSize = new AtomicLong(0); /** Total execution time for all operations */ protected volatile long executeTime = 0; /** List of documents waiting to be indexed */ protected final DocList docList = new DocList(); /** Maximum size of document requests in bytes */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.3K bytes - Viewed (0)