Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for notifications (0.06 sec)

  1. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

        }
    
        @Test
        void testMockServiceNotifications() {
            // Test notification sending (just logs for mock)
            mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource");
    
            // Register a witness first
            String regId = mockService.registerWitness("TestResource", "192.168.1.100", 1);
    
            // Send notification affecting the registration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertNotNull(verifyCacheEntry);
            assertTrue(verifyCacheEntry.isComplete());
            assertEquals(2, verifyCacheEntry.getChildren().size());
    
            // Step 8: Test change notifications
            // Simulate file addition
            directoryLeaseManager.handleDirectoryChange(directoryPath, "newfile.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_ADDED);
    
            // Cache should be invalidated
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

            mockNotifications.add(fileNotifyInfo1);
            mockNotifications.add(fileNotifyInfo2);
            mockNotifications.add(fileNotifyInfo3);
        }
    
        /**
         * Test watch() method returning notifications
         */
        @Test
        void testWatch() throws CIFSException {
            // Setup mock behavior
            when(watchHandle.watch()).thenReturn(mockNotifications);
    
            // Execute
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  4. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        }
    
        // Happy path for SMB2: a response is received and the list is returned; tree is closed
        @Test
        @DisplayName("watch() SMB2 happy path returns notifications and closes tree")
        void watch_smb2_success_returnsList_andClosesTree() throws Exception {
            List<FileNotifyInformation> info = new ArrayList<>();
            NotifyResponse resp = mock(NotifyResponse.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        /**
         * Directory cache timeout in milliseconds
         */
        protected long directoryCacheTimeout = 30000L;
        /**
         * Whether directory change notifications are enabled for cache invalidation
         */
        protected boolean directoryNotificationsEnabled = true;
        /**
         * Maximum number of cached directory entries
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/Constants.java

        // Notification Configuration
        // ============================================================
    
        /** Notification configuration for login page. */
        public static final String NOTIFICATION_LOGIN = "notification.login";
    
        /** Notification configuration for search top page. */
        public static final String NOTIFICATION_SEARCH_TOP = "notification.search.top";
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

         */
        long getDirectoryCacheTimeout();
    
        /**
         * Property {@code jcifs.smb.client.directoryNotificationsEnabled} (boolean, default true)
         *
         * @return whether directory change notifications are enabled
         */
        boolean isDirectoryNotificationsEnabled();
    
        /**
         * Property {@code jcifs.smb.client.maxDirectoryCacheEntries} (int, default 1000)
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

                systemProperties.store();
            } catch (final Exception e) {
                logger.warn("Failed to send a test mail.", e);
                saveError(messages -> messages.addErrorsFailedToSendTestmail(GLOBAL));
            }
    
            return redirectByParam(AdminGeneralAction.class, "notificationTo", form.notificationTo);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/general/MailForm.java

        /** The purge user info day setting. */
        public String purgeUserInfoDay;
    
        /** The purge by bots setting. */
        public String purgeByBots;
    
        /** The notification recipient setting. */
        @Required
        @Size(max = 1000)
        public String notificationTo;
    
        /** The suggest search log setting. */
        public String suggestSearchLog;
    
        /** The suggest documents setting. */
        public String suggestDocuments;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

        private Smb2OplockBreakNotification notification;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            notification = new Smb2OplockBreakNotification(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create notification with configuration")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top