Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 253 for isSynchronized (0.09 sec)

  1. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

        private static class IOExceptionOccurProperties extends Properties {
    
            /**
             *
             */
            private static final long serialVersionUID = 1L;
    
            @Override
            public synchronized void load(final InputStream inStream) throws IOException {
                throw new IOException("load");
            }
    
        }
    
        /**
         * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, String)}
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            return processRequest(uri, true);
        }
    
        protected ResponseData processRequest(final String uri, final boolean includeContent) {
            if (!isInit.get()) {
                synchronized (isInit) {
                    if (!isInit.get()) {
                        init();
                        isInit.set(true);
                    }
                }
            }
    
            // start
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.received = true;
            synchronized ( this ) {
                notifyAll();
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#exception(java.lang.Exception)
         */
        @Override
        public void exception ( Exception e ) {
            this.exception = e;
            synchronized ( this ) {
                notifyAll();
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    logger.info("Stopping all crawler.");
                }
                forceStop();
            }
        }
    
        public void addFinishedSessionId(final String sessionId) {
            synchronized (finishedSessionIdList) {
                finishedSessionIdList.add(sessionId);
            }
        }
    
        private void deleteBySessionId(final String sessionId) {
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/message/MessageFormatter.java

            }
            buffer.setLength(buffer.length() - ", ".length());
            return new String(buffer);
        }
    
        /**
         * 初期化します。
         */
        protected static synchronized void initialize() {
            if (!initialized) {
                DisposableUtil.add(() -> {
                    ResourceBundle.clearCache();
                    initialized = false;
                });
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

            resultData.setTransformerName(getName());
    
            initBaseDir();
    
            final String url = responseData.getUrl();
            final String path = getFilePath(url);
    
            synchronized (this) {
    
                final File file = createFile(path);
    
                try (final InputStream is = responseData.getResponseBody(); final OutputStream os = new FileOutputStream(file);) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        /**
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            // ensure file is open
            if ( this.handle == null || !this.handle.isValid() ) {
                // one extra acquire to keep this open till the stream is released
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/JAASAuthenticator.java

            this.cachedSubject = null;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.Kerb5Authenticator#getSubject()
         */
        @Override
        public synchronized Subject getSubject () {
            if ( this.cachedSubject != null ) {
                return this.cachedSubject;
            }
    
            try {
                log.debug("Logging on");
                LoginContext lc;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

      }
    
      private class RecordingPushObserver : PushObserver {
        val events = mutableListOf<Any>()
    
        @Synchronized fun takeEvent(): Any {
          while (events.isEmpty()) {
            wait()
          }
          return events.removeAt(0)
        }
    
        @Synchronized override fun onRequest(
          streamId: Int,
          requestHeaders: List<Header>,
        ): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                        }
                    }
                    return null;
                }
    
                private void loadFullReactor() {
                    if (!fullReactorLoaded) {
                        synchronized (DefaultTransformerContextBuilder.this) {
                            if (!fullReactorLoaded) {
                                doLoadFullReactor();
                                fullReactorLoaded = true;
                            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top