Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 25 of 25 for getExpiration (0.09 seconds)

  1. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Test some inherited methods
                assertFalse(response.isReceived());
                assertFalse(response.isError());
                assertNull(response.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle configuration correctly")
            void testConfigurationHandling() {
                // Given - create a mock configuration
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                iter = this.sessions.listIterator();
                while (iter.hasNext()) {
                    final SmbSessionImpl ssn = iter.next();
                    if (ssn.getExpiration() != null && ssn.getExpiration() < now && !ssn.isInUse()) {
                        if (log.isDebugEnabled()) {
                            log.debug("Closing session after timeout " + ssn);
                        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Test some inherited methods
                assertFalse(response.isReceived());
                assertFalse(response.isError());
                assertNull(response.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle multiple configurations")
            void testMultipleConfigurations() throws SMBProtocolDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/transport/Transport.java

                if (firstKey == 0) {
                    firstKey = k;
                }
    
                if (timeout > 0) {
                    curResp.setExpiration(System.currentTimeMillis() + timeout);
                } else {
                    curResp.setExpiration(null);
                }
    
                curResp.setMid(k);
                this.response_map.put(k, curResp);
    
                final Request next = curReq.getNext();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

                        }
                        break;
                    }
                    link = link.substring(0, nextSep);
                }
            }
    
            if (dr != null && now > dr.getExpiration()) {
                if (log.isTraceEnabled()) {
                    log.trace("Expiring links " + link);
                }
                links.map.remove(link);
                dr = null;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 29.7K bytes
    - Click Count (0)
Back to Top