Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 81 for AutoCloseable (0.08 seconds)

  1. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

     * It implements rank fusion techniques to combine results from different search engines
     * and provides a unified search interface.
     */
    public class RankFusionProcessor implements AutoCloseable {
    
        private static final Logger logger = LogManager.getLogger(RankFusionProcessor.class);
    
        /** Thread-safe list of rank fusion searchers available for processing search requests */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

     * when the "guest" username is supplied. Use {@link AuthenticationType} instead.
     *
     * @author mbechler
     */
    public class NtlmPasswordAuthenticator implements Principal, CredentialsInternal, Serializable, AutoCloseable {
    
        /**
         *
         */
        private static final long serialVersionUID = -4090263879887877186L;
    
        private static final Logger log = LoggerFactory.getLogger(NtlmPasswordAuthenticator.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

     * Handles both AES-CCM (SMB 3.0/3.0.2) and AES-GCM (SMB 3.1.1) cipher suites.
     *
     * @author mbechler
     */
    public class Smb2EncryptionContext implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(Smb2EncryptionContext.class);
    
        private final int cipherId;
        private final DialectVersion dialect;
        private byte[] encryptionKey;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

            final SmbResource n = this.next;
            this.next = advance();
            return n;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() throws CIFSException {
            this.delegate.close();
        }
    
        @Override
        public void remove() {
            this.delegate.remove();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

            try (BuildContext ctx = new BuildContext(session, reactorContext, taskSegments)) {
                ctx.execute();
            }
        }
    
        class BuildContext implements AutoCloseable {
            final MavenSession session;
            final ReactorContext reactorContext;
            final PhasingExecutor executor;
            final Map<Object, Clock> clocks = new ConcurrentHashMap<>();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            context.resetKeyRotationTracking();
    
            // Then
            assertFalse(context.needsKeyRotation(), "Should not need rotation after reset");
        }
    
        @Test
        @DisplayName("Should implement AutoCloseable and securely wipe keys on close")
        void testAutoCloseable() {
            // Given
            byte[] encKey = new byte[16];
            byte[] decKey = new byte[16];
            new SecureRandom().nextBytes(encKey);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                    log.debug("Failed to close enum", e);
                }
            }
            return n;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() throws CIFSException {
            if (this.next != null) {
                doClose();
            }
        }
    
        @Override
        public void remove() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            }
        }
    
        /**
         * A holder for the directory context.
         */
        protected class DirContextHolder implements AutoCloseable {
            private final DirContext context;
    
            private int counter = 1;
    
            /**
             * Constructs a new directory context holder.
             *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                        this.session.acquire();
                    }
                }
            }
            return this;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() {
            release(false);
        }
    
        public void release() {
            release(true);
        }
    
        /**
         * @param track
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                log.error("Error during session finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() {
            release();
        }
    
        /**
         *
         */
        public void release() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
Back to Top