Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 128 for volatile (0.04 sec)

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

       * triggered by cancel(). For details, see the comments on the fields of TimeoutFuture.
       *
       * <p>{@code volatile} is required for j2objc transpiling:
       * https://developers.google.com/j2objc/guides/j2objc-memory-model#atomicity
       */
      private volatile @Nullable InterruptibleTask<?> task;
    
      TrustedListenableFutureTask(Callable<V> callable) {
        this.task = new TrustedFutureInterruptibleTask(callable);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. docs/smb3-features/01-smb3-lease-design.md

        }
        
        public static class LeaseEntry {
            private final Smb2LeaseKey leaseKey;
            private volatile int leaseState;
            private volatile int epoch;
            private final long createTime;
            private volatile long lastAccessTime;
            private final String path;
            private volatile boolean breaking;
            
            public LeaseEntry(Smb2LeaseKey key, String path, int state) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        /**
         * The timestamp of the last access to this handle
         */
        private volatile long lastAccessTime;
    
        /**
         * The associated lease key if this handle has an SMB2 lease
         */
        private final Smb2LeaseKey leaseKey;
    
        /**
         * Flag indicating whether this handle is currently being reconnected
         */
        private volatile boolean reconnecting;
    
        // Not serialized - will be null after deserialization
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

    /** 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)
  5. src/main/java/jcifs/smb/MultiChannelManager.java

            private final NetworkInterface networkInterface;
            private final SmbTransportImpl transport;
            private final AtomicInteger activeConnections = new AtomicInteger(0);
            private volatile boolean isHealthy = true;
            private volatile long lastHealthCheck = System.currentTimeMillis();
    
            public ChannelInfo(String channelId, InetAddress localAddress, InetAddress remoteAddress, NetworkInterface networkInterface,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/ResourceManager.java

        private final AtomicLong totalLeaks = new AtomicLong();
    
        private final ScheduledExecutorService cleanupExecutor;
        private ScheduledFuture<?> cleanupTask;
        private volatile boolean shutdownInProgress = false;
    
        // Configuration
        private long maxResourceAge = TimeUnit.HOURS.toMillis(1); // 1 hour default
        private long cleanupInterval = TimeUnit.MINUTES.toMillis(5); // 5 minutes default
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

     * @see DisposableUtil
     */
    public abstract class BeanDescFactory {
    
        /**
         * Do not instantiate.
         */
        protected BeanDescFactory() {
        }
    
        /** True if initialized */
        private static volatile boolean initialized;
    
        /** Cache of {@link BeanDesc} */
        private static final ConcurrentMap<Class<?>, BeanDesc> beanDescCache = newConcurrentHashMap(1024);
    
        static {
            initialize();
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

         */
        public static class PreauthIntegrityContext {
            private final byte[] salt;
            private final int hashAlgorithm;
            private volatile byte[] currentHash;
            private volatile boolean isValid;
            private final Object hashLock = new Object();
    
            public PreauthIntegrityContext(byte[] salt, int hashAlgorithm) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

       * access to the most-recently received one.
       */
      static class CountingRemovalListener<K, V> implements RemovalListener<K, V> {
        private final AtomicInteger count = new AtomicInteger();
        private volatile RemovalNotification<K, V> lastNotification;
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          count.incrementAndGet();
          lastNotification = notification;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

         */
        /**
         * Current state of the transport connection
         */
        protected volatile int state = 0;
    
        /**
         * Name identifier for this transport instance
         */
        protected String name = "Transport" + id++;
        private volatile Thread thread;
        private volatile TransportException te;
    
        /**
         * Lock object for synchronizing input operations
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top