Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getEventType (0.07 sec)

  1. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            // Test favorite event type
            TestSearchLogEvent favoriteEvent = new TestSearchLogEvent("id", 1L, "favorite");
            assertEquals("favorite", favoriteEvent.getEventType());
    
            // Test user_info event type
            TestSearchLogEvent userInfoEvent = new TestSearchLogEvent("id", 1L, "user_info");
            assertEquals("user_info", userInfoEvent.getEventType());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "TestResource");
        }
    
        @Test
        void testNotificationCreation() {
            assertEquals(WitnessEventType.CLIENT_MOVE, notification.getEventType());
            assertEquals("TestResource", notification.getResourceName());
            assertTrue(notification.getTimestamp() <= System.currentTimeMillis());
            assertTrue(notification.getNewIPAddresses().isEmpty());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessNotification.java

        }
    
        // Getters and Setters
    
        /**
         * Gets the event type.
         *
         * @return the event type
         */
        public WitnessEventType getEventType() {
            return eventType;
        }
    
        /**
         * Sets the event type.
         *
         * @param eventType the event type
         */
        public void setEventType(WitnessEventType eventType) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. docs/smb3-features/06-witness-protocol-design.md

        }
    }
    
    private void handleWitnessEvent(WitnessNotification notification) {
        log.info("Handling witness event: {} for resource: {}", 
            notification.getEventType(), notification.getResourceName());
        
        switch (notification.getEventType()) {
            case RESOURCE_CHANGE:
                handleResourceChange(notification);
                break;
                
            case CLIENT_MOVE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            assertTrue(listener.waitForNotification(1000));
            assertNotNull(listener.getLastNotification());
            assertEquals(WitnessEventType.CLIENT_MOVE, listener.getLastNotification().getEventType());
    
            client.close();
        }
    
        @Test
        void testUnregistration() throws Exception {
            // Setup successful registration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

         */
        private void handleWitnessEvent(WitnessNotification notification) {
            log.info("Handling witness event: {} for resource: {}", notification.getEventType(), notification.getResourceName());
    
            switch (notification.getEventType()) {
            case RESOURCE_CHANGE:
                handleResourceChange(notification);
                break;
    
            case CLIENT_MOVE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessClient.java

         * @param notification the notification to process
         */
        public void processNotification(WitnessNotification notification) {
            log.info("Received witness notification: {} for resource: {}", notification.getEventType(), notification.getResourceName());
    
            // Find registrations that match this notification
            for (Map.Entry<String, WitnessRegistration> entry : registrations.entrySet()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            source.put("_id", searchLogEvent.getId());
            // source.put("version_no", searchLogEvent.getVersionNo());
            source.put("event_type", searchLogEvent.getEventType());
            return source;
        }
    
        /**
         * Converts a map to lower hyphen case.
         *
         * @param source The source map.
         * @return The converted map.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
Back to top