Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for wait (0.16 sec)

  1. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            lock = new Object();
        }
        public int read() throws IOException {
            int result = -1;
    
            synchronized( lock ) {
                try {
                    while( used == 0 ) {
                        lock.wait();
                    }
                } catch( InterruptedException ie ) {
                    throw new IOException( ie.getMessage() );
                }
                result = pipe_buf[beg_idx] & 0xFF;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/Transport.java

                te = null;
                thread = new Thread( this, name );
                thread.setDaemon( true );
    
                synchronized (thread) {
                    thread.start();
                    thread.wait( timeout );          /* wait for doConnect */
    
                    switch (state) {
                        case 1: /* doConnect never returned */
                            state = 0;
                            thread = null;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

                            continue;
                        }
    
                        curResp.wait();
                        if ( handleIntermediate(request, curResp) ) {
                            continue;
                        }
                        if ( log.isDebugEnabled() ) {
                            log.debug("Wait returned state is " + this.state);
                        }
                        if ( isDisconnected() ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/RequestParam.java

     */
    package jcifs.smb;
    
    
    /**
     * Internal use only
     * 
     * @author mbechler
     * @internal
     */
    public enum RequestParam {
    
        /**
         * 
         */
        NONE,
    
        /**
         * Wait indefinitely for a response
         */
        NO_TIMEOUT,
    
        /**
         * Do not retry request on failure
         */
        NO_RETRY,
    
        /**
         * Save the raw payload for further inspection
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransWaitNamedPipe.java

    package jcifs.smb1.smb1;
    
    class TransWaitNamedPipe extends SmbComTransaction {
    
        TransWaitNamedPipe( String pipeName ) {
            name = pipeName;
            command = SMB_COM_TRANSACTION;
            subCommand = TRANS_WAIT_NAMED_PIPE;
            timeout = 0xFFFFFFFF;
            maxParameterCount = 0;
            maxDataCount = 0;
            maxSetupCount = (byte)0x00;
            setupCount = 2;
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            fail("could not start job.");
        }
    
        protected static void waitJob(final String namePrefix) {
            Boolean isRunning = false;
            int count = 0;
    
            while (count < 300 && !isRunning) { // Wait until the crawler starts
                ThreadUtil.sleep(500);
                count++;
                final Map<String, Object> scheduler = getSchedulerItem(namePrefix);
                assertTrue(scheduler.containsKey("running"));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                        synchronized ( w ) {
                            w.checkException();
                            while ( !w.isReady() ) {
                                try {
                                    w.wait();
                                }
                                catch ( InterruptedException ie ) {
                                    throw new SmbException(dest.getURL().toString(), ie);
                                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                    }
                }, "ProcessCloser-output-" + sessionId).start();
    
                try {
                    latch.await(10, TimeUnit.SECONDS);
                } catch (final InterruptedException e) {
                    logger.warn("Interrupted to wait a process.", e);
                }
                try {
                    process.destroyForcibly().waitFor(processDestroyTimeout, TimeUnit.SECONDS);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

            while (connectionState != 0) {
                if (connectionState == 2 || connectionState == 3) // connected or disconnecting
                    return;
                try {
                    transport.wait();
                } catch (InterruptedException ie) {
                    throw new SmbException(ie.getMessage(), ie);
                }
            }
            connectionState = 1; // trying ...
    
            try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        public static final int FSCTL_DFS_GET_REFERRALS = 0x0060194;
        /**
         * 
         */
        public static final int FSCTL_PIPE_PEEK = 0x0011400C;
        /**
         * 
         */
        public static final int FSCTL_PIPE_WAIT = 0x00110018;
        /**
         * 
         */
        public static final int FSCTL_PIPE_TRANSCEIVE = 0x0011C017;
        /**
         * 
         */
        public static final int FSCTL_SRV_COPYCHUNK = 0x001440F2;
        /**
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 07:13:17 GMT 2018
    - 7.8K bytes
    - Viewed (0)
Back to top