- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for handleStateDirectory (0.21 sec)
-
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
// Create temporary directory for test state tempDir = Files.createTempDirectory("jcifs-test-handles"); // Set system property for handle state directory System.setProperty("jcifs.smb.client.handleStateDirectory", tempDir.toString()); when(mockContext.getConfig()).thenReturn(mockConfig); manager = new PersistentHandleManager(mockContext); } @AfterEach
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
t.setDaemon(true); return t; }); // Create state directory for persistent storage String stateDir = System.getProperty("jcifs.smb.client.handleStateDirectory"); if (stateDir == null) { String homeDir = System.getProperty("user.home"); stateDir = homeDir + File.separator + ".jcifs" + File.separator + "handles"; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Maximum number of retry attempts for handle reconnection */ protected int handleReconnectRetries = 3; /** Directory to store persistent handle state */ protected String handleStateDirectory; // Directory leasing configuration fields /** * Whether to use directory leasing for cached directory listings */ protected boolean useDirectoryLeasing = true; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
public static final String HANDLE_RECONNECT_RETRIES = "jcifs.smb.client.handleReconnectRetries"; public static final String HANDLE_STATE_DIR = "jcifs.smb.client.handleStateDirectory"; public boolean isUseDurableHandles() { return getBooleanProperty(USE_DURABLE_HANDLES, true); } public boolean isUsePersistentHandles() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return health check interval in seconds */ int getChannelHealthCheckInterval(); /** * Property {@code jcifs.smb.client.handleStateDirectory} * * @return directory to store persistent handle state */ String getHandleStateDirectory(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0)