- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 22 for newScheduledThreadPool (0.3 seconds)
-
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
this.context = context; this.handles = new ConcurrentHashMap<>(); this.guidToHandle = new ConcurrentHashMap<>(); this.scheduler = Executors.newScheduledThreadPool(1, r -> { Thread t = new Thread(r, "PersistentHandleManager"); t.setDaemon(true); return t; }); // Create state directory for persistent storageCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
this.registrations = new ConcurrentHashMap<>(); this.listeners = new ConcurrentHashMap<>(); this.asyncNotifyTasks = new ConcurrentHashMap<>(); this.scheduler = Executors.newScheduledThreadPool(3); // Increased for async notifications this.rpcClient = rpcClient; // Schedule periodic tasks schedulePeriodicTasks(); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
this.baseLeaseManager = leaseManager; this.directoryCache = new ConcurrentHashMap<>(); this.leaseToPath = new ConcurrentHashMap<>(); this.scheduler = Executors.newScheduledThreadPool(1); this.changeNotifier = new DirectoryChangeNotifier(this); // Schedule periodic cache cleanup scheduler.scheduleAtFixedRate(this::cleanupExpiredEntries, 60, 60, TimeUnit.SECONDS); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
docs/recipes.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val executor = Executors.newScheduledThreadPool(1) private val client = OkHttpClient() fun run() { val request = Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
this.baseLeaseManager = leaseManager; this.directoryCache = new ConcurrentHashMap<>(); this.leaseToPath = new ConcurrentHashMap<>(); this.scheduler = Executors.newScheduledThreadPool(1); this.changeNotifier = new DirectoryChangeNotifier(this); // Schedule periodic cache cleanup scheduler.scheduleAtFixedRate(this::cleanupExpiredEntries, 60, 60, TimeUnit.SECONDS);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
this.session = session; this.channels = new ConcurrentHashMap<>(); this.localInterfaces = new ArrayList<>(); this.remoteInterfaces = new ArrayList<>(); this.scheduler = Executors.newScheduledThreadPool(2, r -> { Thread t = new Thread(r, "MultiChannelScheduler"); t.setDaemon(true); return t; }); this.loadBalancer = new ChannelLoadBalancer(this);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 20K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
this.context = context; this.handles = new ConcurrentHashMap<>(); this.guidToHandle = new ConcurrentHashMap<>(); this.scheduler = Executors.newScheduledThreadPool(1); // Create state directory for persistent storage String homeDir = System.getProperty("user.home"); this.stateDirectory = Paths.get(homeDir, ".jcifs", "handles"); try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
private var client = clientTestRule .newClientBuilder() .eventListenerFactory(clientTestRule.wrap(eventRecorder)) .build() private val executorService = Executors.newScheduledThreadPool(1) @BeforeEach fun setUp() { platform.assumeNotOpenJSSE() platform.assumeHttp2Support() } @AfterEach fun tearDown() { executorService.shutdown() }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
this.session = session; this.channels = new ConcurrentHashMap<>(); this.localInterfaces = new ArrayList<>(); this.remoteInterfaces = new ArrayList<>(); this.scheduler = Executors.newScheduledThreadPool(2); this.loadBalancer = new ChannelLoadBalancer(this); this.failover = new ChannelFailover(this); Configuration config = context.getConfig();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0)