Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Release (0.18 sec)

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

                    this.handle.close();
                }
                else if ( this.handle != null ) {
                    this.handle.release();
                }
                this.handle = null;
            }
            finally {
                if ( this.treeHandle != null ) {
                    this.treeHandle.release();
                }
            }
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close () {
            release();
        }
    
    
        /**
         * 
         */
        public void release () {
            long usage = this.usageCount.decrementAndGet();
            if ( log.isTraceEnabled() ) {
                log.trace("Release transport " + usage + " " + this);
            }
    
            if ( usage == 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * 
         * @throws CIFSException
         */
        public void open () throws CIFSException {
            try ( SmbFileHandleImpl fh = ensureOpen() ) {}
        }
    
    
        /**
         * Closes this output stream and releases any system resources associated
         * with it.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void close () throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

    import jcifs.smb1.ntlmssp.Type2Message;
    import jcifs.smb1.ntlmssp.Type3Message;
    import jcifs.smb1.util.Base64;
    
    /**
     * Wraps an <code>HttpURLConnection</code> to provide NTLM authentication
     * services.
     *
     * Please read <a href="../../../httpclient.html">Using jCIFS NTLM Authentication for HTTP Connections</a>.
     */
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final int MAX_REDIRECTS =
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

        @Override
        public void close () {
            release(false);
        }
    
    
        public void release () {
            release(true);
        }
    
    
        /**
         * @param track
         */
        public void release ( boolean track ) {
            long usage = this.usageCount.decrementAndGet();
            if ( log.isTraceEnabled() ) {
                log.trace("Release tree " + usage + " " + this);
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
        synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            if ( this.handle == null || !this.handle.isValid() ) {
                // one extra acquire to keep this open till the stream is released
                if ( this.file instanceof SmbNamedPipe ) {
                    this.handle = this.file.openUnshared(
                        SmbConstants.O_EXCL,
                        ( (SmbNamedPipe) this.file ).getPipeType() & 0xFF0000,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeConnection.java

                    if ( wasAcquired ) {
                        // release
                        old.release(true);
                    }
                }
                if ( this.delegate != null && this.delegateAcquired ) {
                    log.debug("Releasing delegate");
                    this.delegateAcquired = false;
                    this.delegate.release();
                }
            }
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * 
         */
        public static final byte SMB2_OPLOCK_LEVEL_BATCH = 0x9;
        /**
         * 
         */
        public static final byte SMB2_OPLOCK_LEVEL_LEASE = (byte) 0xFF;
    
        /**
         * 
         */
        public static final int SMB2_IMPERSONATION_LEVEL_ANONYMOUS = 0x0;
    
        /**
         * 
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 09:52:11 GMT 2019
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         * 
         * Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these
         * resources, however comes at the cost of having to properly release all SmbFile instances you no longer need.
         * 
         * @return whether to use strict resource lifecycle
         */
        boolean isStrictResourceLifecycle ();
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

         * @return input stream, needs to be closed when finished
         * @throws CIFSException
         */
        InputStream openInputStream () throws CIFSException;
    
    
        /**
         * Close/release the file
         * 
         * This releases all resources that this file holds. If not using strict mode this is currently a no-op.
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close ();
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
Back to top