Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 555 for watch (0.15 sec)

  1. src/test/java/jcifs/tests/WatchTest.java

            try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME, false) ) {
                setupWatch(w);
                try ( SmbResource cr = new SmbFile(this.base, "created") ) {
                    cr.createNewFile();
                    assertNotified(w, FileNotifyInformation.FILE_ACTION_ADDED, "created", null);
                }
            }
            catch ( TimeoutException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

    
    /**
     * @author mbechler
     *
     */
    public class Smb2ChangeNotifyRequest extends ServerMessageBlock2Request<Smb2ChangeNotifyResponse> {
    
        /**
         * 
         */
        public static final int SMB2_WATCH_TREE = 0x1;
    
        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x1;
        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x2;
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

            this.recursive = recursive;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbWatchHandle#watch()
         */
        @Override
        public List<FileNotifyInformation> watch () throws CIFSException {
            if ( !this.handle.isValid() ) {
                throw new SmbException("Watch was broken by tree disconnect");
            }
            try ( SmbTreeHandleImpl th = this.handle.getTree() ) {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbWatchHandle.java

         * it will return an empty list of changes.
         * 
         * @return changes since the last invocation
         * @throws CIFSException
         */
        List<FileNotifyInformation> watch () throws CIFSException;
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.concurrent.Callable#call()
         */
        @Override
        List<FileNotifyInformation> call () throws CIFSException;
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

    
        /**
         * Creates a directory watch
         * 
         * The server will notify the client when there are changes to the directories contents
         * 
         * @param filter
         *            see constants in {@link FileNotifyInformation}
         * @param recursive
         *            whether to also watch subdirectories
         * @return watch context, needs to be closed when finished
         * @throws CIFSException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Dfs.java

                    int _klen = _key.length();
                    boolean match = false;
    
                    if (_klen == key.length()) {
                        match = _key.equals(key);
                    } else if (_klen < key.length()) {
                        match = _key.regionMatches(0, key, 0, _klen) && key.charAt(_klen) == '\\';
                    }
    
                    if (match)
                        dr = (DfsReferral)referrals.map.get(_key);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    "{\"bool\":{\"should\":[{\"match_phrase\":{\"title\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":0.5}}},{\"match_phrase\":{\"content\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":0.05}}}],\"adjust_pure_negative\":true,\"boost\":1.0}}",
                    "aaa");
            assertQueryBuilder(MatchPhraseQueryBuilder.class,
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                return Collections.emptySet();
            }
    
            final Set<String> valueSet = new HashSet<>();
            for (final LabelTypePattern pattern : labelTypePatternList) {
                if (pattern.match(path)) {
                    valueSet.add(pattern.getValue());
                }
            }
            return valueSet;
        }
    
        protected void buildLabelTypePatternList(final List<LabelType> labelTypeList) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.7K bytes
    - Viewed (2)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

            try {
                return SingletonLaContainer.getComponent(clazz);
            } catch (final NullPointerException e) {
                if (logger.isDebugEnabled()) {
                    throw new ContainerNotAvailableException(clazz.getCanonicalName(), e);
                }
                throw new ContainerNotAvailableException(clazz.getCanonicalName());
            } catch (final ComponentNotFoundException | AutoBindingFailureException e) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
        void connect0() throws SmbException {
            try {
                connect();
            } catch( UnknownHostException uhe ) {
                throw new SmbException( "Failed to connect to server", uhe );
            } catch( SmbException se ) {
                throw se;
            } catch( IOException ioe ) {
                throw new SmbException( "Failed to connect to server", ioe );
            }
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top