- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,516 for Watch (0.15 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 Apr 28 00:10:09 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 Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.5K 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 Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* */ public interface SmbWatchHandle extends AutoCloseable, Callable<List<FileNotifyInformation>> { /** * Get the next set of changes * * Will block until the server returns a set of changes that match the given filter. The file will be automatically * opened if it is not and should be closed with {@link #close()} when no longer * needed. *
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.3K 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 Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K 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 Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
* If any of the above fail, isExists will not be set true */ this.isExists = true; } catch ( UnknownHostException uhe ) { log.debug("Unknown host", uhe); } catch ( SmbException se ) { log.trace("exists:", se); switch ( se.getNtStatus() ) { case NtStatus.NT_STATUS_NO_SUCH_FILE:
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
/** Invokes {@code latch.}{@link CountDownLatch#await() await()} uninterruptibly. */ @J2ktIncompatible @GwtIncompatible // concurrency public static void awaitUninterruptibly(CountDownLatch latch) { boolean interrupted = false; try { while (true) { try { latch.await(); return; } catch (InterruptedException e) { interrupted = true;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 14.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
&& match(exclusion.getArtifactId(), candidate.getArtifactId()); } private boolean match(String match, String text) { return match.equals("*") || match.equals(text); } @SuppressWarnings("checkstyle:parameternumber") private DependencyManagement doLoadDependencyManagement( Model model, ModelBuilderRequest request,
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 59.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
}, executor); fail(); } catch (IllegalStateException expected2) { } try { ClosingFuture.whenAllComplete(asList(closingFuture)); fail(); } catch (IllegalStateException expected1) { } try { ClosingFuture.whenAllSucceed(asList(closingFuture)); fail(); } catch (IllegalStateException expected) { } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 75.3K bytes - Viewed (0)