- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,515 for watch (0.14 sec)
-
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) -
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) -
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) -
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) -
maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java
null, type.isIncludesDependencies(), type.getLanguage().id(), type.getPathTypes().contains(JavaPathType.CLASSES)); // TODO: watch out for module path }); // Note: here, type decides is artifact added to "build path" (for example during resolution)
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 3.4K bytes - Viewed (0) -
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) -
src/main/java/jcifs/smb1/smb1/Dfs.java
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) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java
try { settableFutureClass.getMethod("create").invoke(null); latch.countDown(); } catch (Exception e) { throw new RuntimeException(e); } }); // In the failure case, await() will timeout. assertTrue(latch.await(2, TimeUnit.SECONDS)); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
* result doesn't match the expected value. */ public void assertSuccess(Object expectedData) throws Throwable { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Viewed (0) -
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)