Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for doClose (0.17 sec)

  1. src/main/java/jcifs/smb/NetServerEnumIterator.java

         * @see jcifs.CloseableIterator#close()
         */
        @Override
        public void close () throws CIFSException {
            if ( this.next != null ) {
                doClose();
            }
        }
    
    
        /**
         * 
         */
        private void doClose () {
            this.treeHandle.release();
            this.next = null;
        }
    
    
        @Override
        public void remove () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

            this.treeHandle = th.acquire();
            try {
                this.next = open();
                if ( this.next == null ) {
                    doClose();
                }
            }
            catch ( Exception e ) {
                doClose();
                throw e;
            }
    
        }
    
    
        /**
         * @return the treeHandle
         */
        public final SmbTreeHandleImpl getTreeHandle () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

                    // this simply indicates an empty listing
                    doClose();
                    return null;
                }
    
                throw e;
            }
            this.fileId = createResp.getFileId();
            this.response = query.getResponse();
            FileEntry n = advance(false);
            if ( n == null ) {
                doClose();
            }
            return n;
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 16:15:08 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                    doClose();
                    return null;
                }
                throw e;
            }
    
            this.response.setSubCommand(SmbComTransaction.TRANS2_FIND_NEXT2);
            FileEntry n = advance(false);
            if ( n == null ) {
                doClose();
            }
            return n;
        }
    
    
        /**
         * {@inheritDoc}
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        public boolean close () throws CIFSException {
            boolean inUse = false;
    
            List<SmbTransportImpl> toClose;
            synchronized ( this.connections ) {
                cleanup();
                log.debug("Closing pool");
                toClose = new LinkedList<>(this.connections);
                toClose.addAll(this.nonPooledConnections);
                this.connections.clear();
                this.nonPooledConnections.clear();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
Back to top