Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for AtomicLong (0.05 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

        new PrintEvents().run();
      }
    
      private static final class PrintingEventListener extends EventListener {
        private static final Factory FACTORY = new Factory() {
          final AtomicLong nextCallId = new AtomicLong(1L);
    
          @Override public EventListener create(Call call) {
            long callId = nextCallId.getAndIncrement();
            System.out.printf("%04d %s%n", callId, call.request().url());
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

    ```java
    public class WitnessStatistics {
        private final AtomicLong registrationsActive = new AtomicLong();
        private final AtomicLong notificationsReceived = new AtomicLong();
        private final AtomicLong failoverEvents = new AtomicLong();
        private final AtomicLong heartbeatsSent = new AtomicLong();
        private final AtomicLong registrationFailures = new AtomicLong();
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

        private static final Logger log = LoggerFactory.getLogger(DisniMemoryRegion.class);
        private static final AtomicInteger keyGenerator = new AtomicInteger(2000);
        private static final AtomicLong addressCounter = new AtomicLong(0x10000000L);
        private static final Map<ByteBuffer, Long> bufferAddresses = new ConcurrentHashMap<>();
    
        // DiSNI objects - would be actual DiSNI types in real implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicLong
    import java.util.concurrent.atomic.AtomicReference
    import okhttp3.internal.USER_AGENT
    import okio.ByteString
    
    /**
     * Exercises the web socket implementation against the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. docs/smb3-features/01-smb3-lease-design.md

    ```java
    public class LeaseStatistics {
        private final AtomicLong leasesRequested = new AtomicLong();
        private final AtomicLong leasesGranted = new AtomicLong();
        private final AtomicLong leaseBreaks = new AtomicLong();
        private final AtomicLong leaseUpgrades = new AtomicLong();
        private final AtomicLong leaseDowngrades = new AtomicLong();
        
        // Getters and increment methods
    }
    ```
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/main/java/jcifs/audit/SecurityAuditLogger.java

        });
        private volatile boolean asyncLogging = true;
        private volatile boolean shutdown = false;
    
        // Event statistics
        private final Map<EventType, AtomicLong> eventCounters = new ConcurrentHashMap<>();
        private final Map<EventType, AtomicLong> eventTimings = new ConcurrentHashMap<>();
    
        // Configuration
        private volatile boolean enableJsonLogging = true;
        private volatile boolean maskSensitiveData = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LongAddables.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Supplier;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * Source of {@link LongAddable} objects that deals with GWT, Unsafe, and all that.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class LongAddables {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/FakeTicker.java

     *
     * <p>This class is thread-safe.
     *
     * @author Jige Yu
     * @since 10.0
     */
    @NullMarked
    @GwtCompatible
    public class FakeTicker extends Ticker {
    
      private final AtomicLong nanos = new AtomicLong();
      private volatile long autoIncrementStepNanos;
    
      /** Advances the ticker value by {@code time} in {@code timeUnit}. */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

    ```java
    public class HandleStatistics {
        private final AtomicLong handlesRequested = new AtomicLong();
        private final AtomicLong handlesGranted = new AtomicLong();
        private final AtomicLong reconnectAttempts = new AtomicLong();
        private final AtomicLong reconnectSuccesses = new AtomicLong();
        private final AtomicLong handleExpirations = new AtomicLong();
        
        public double getReconnectSuccessRate() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        private final long establishedTime;
        private volatile long lastActivityTime;
    
        // Performance metrics
        private final AtomicLong bytesSent;
        private final AtomicLong bytesReceived;
        private final AtomicLong requestsSent;
        private final AtomicLong requestsReceived;
        private final AtomicLong errors;
    
        // Channel binding
        private byte[] bindingHash;
        private boolean isPrimary;
    
        // Pending operations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top