- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for cachePolicy (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb1/smb1/SmbSession.java
private static final String USERNAME = Config.getProperty("jcifs.smb1.smb.client.username", null); private static final int CACHE_POLICY = Config.getInt("jcifs.smb1.netbios.cachePolicy", 60 * 10) * 60; /* 10 hours */ static NbtAddress[] dc_list = null; static long dc_list_expiration; static int dc_list_counter;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 20.7K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
* * @return maximum number of retries for netbios requests */ int getNetbiosRetryCount(); /** * * * Property {@code jcifs.netbios.cachePolicy} in minutes (int, default 600) * * @return netbios cache timeout, in seconds, 0 - disable caching, -1 - cache forever */ int getNetbiosCachePolicy(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} static void cacheAddress(final Name hostName, final NbtAddress addr) { if (CACHE_POLICY == 0) { return; } long expiration = -1; if (CACHE_POLICY != FOREVER) { expiration = System.currentTimeMillis() + CACHE_POLICY * 1000; } cacheAddress(hostName, addr, expiration); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0)