Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isChangedClusterState (0.12 sec)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        public void test_isChangedClusterState() {
            systemHelper.isChangedClusterState(0);
            assertFalse(systemHelper.isChangedClusterState(0));
            assertTrue(systemHelper.isChangedClusterState(1));
            assertTrue(systemHelper.isChangedClusterState(2));
            assertFalse(systemHelper.isChangedClusterState(2));
        }
    
        public void test_getRedirectResponseToLogin() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

            final StringBuilder resultBuf = new StringBuilder();
    
            final PingResponse ping = searchEngineClient.ping();
            final int status = ping.getStatus();
            if (systemHelper.isChangedClusterState(status)) {
                if (fessConfig.hasNotification()) {
                    final String toStrs = fessConfig.getNotificationTo();
                    final String[] toAddresses;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        public void addUpdateConfigListener(final String name, final Supplier<String> listener) {
            updateConfigListenerMap.put(name, listener);
        }
    
        public boolean isChangedClusterState(final int status) {
            return previousClusterState.getAndSet(status) != status;
        }
    
        public ActionValidator<FessMessages> createValidator(final RequestManager requestManager,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top