- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getLeaseTimeout (0.17 sec)
-
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
@BeforeEach void setUp() { mockContext = mock(CIFSContext.class); mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockConfig.getLeaseTimeout()).thenReturn(30000); when(mockConfig.getMaxLeases()).thenReturn(1000); when(mockConfig.getLeaseBreakTimeout()).thenReturn(60); leaseManager = new LeaseManager(mockContext); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
} @Override public boolean isUseLease() { return this.delegate.isUseLease(); } @Override public int getLeaseTimeout() { return this.delegate.getLeaseTimeout(); } @Override public int getMaxLeases() { return this.delegate.getMaxLeases(); } @Override public int getLeaseVersion() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24.1K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
public static final String LEASE_VERSION = "jcifs.smb.client.leaseVersion"; public boolean isUseLeases() { return getBooleanProperty(USE_LEASES, true); } public int getLeaseTimeout() { return getIntProperty(LEASE_TIMEOUT, 30000); // 30 seconds default } public int getMaxLeases() { return getIntProperty(MAX_LEASES, 1000); // Max concurrent leases }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
Thread t = new Thread(r, "LeaseManager-Cleanup"); t.setDaemon(true); return t; }); // Schedule periodic cleanup long cleanupInterval = context.getConfig().getLeaseTimeout(); if (cleanupInterval <= 0) { cleanupInterval = DEFAULT_LEASE_CLEANUP_INTERVAL; } final long finalCleanupInterval = cleanupInterval;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
boolean isUseLease(); /** * Property {@code jcifs.smb.client.leaseTimeout} (int, default 30000) * * @return lease timeout in milliseconds * @since 2.2 */ int getLeaseTimeout(); /** * Property {@code jcifs.smb.client.maxLeases} (int, default 1000) * * @return maximum number of concurrent leases * @since 2.2 */ int getMaxLeases();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.aes256Enabled; } @Override public boolean isUseLease() { return this.useLease; } @Override public int getLeaseTimeout() { return this.leaseTimeout; } @Override public int getMaxLeases() { return this.maxLeases; } @Override public int getLeaseVersion() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0)