@Test public void stopSessionValidate() throws InterruptedException { Session session = new SimpleSession(); session.setTimeout(10000L); defaultSessionManager.create(session); Thread.sleep(1000L); session.stop(); Thread.sleep(3000L); Assert.assertTrue(defaultSessionManager.getActiveSessions().isEmpty()); Assert.assertTrue(executorServiceSessionValidationScheduler.isEnabled()); }
public boolean isEnabled() { return this.enabled; }
ExecutorServiceSessionValidationScheduler implements SessionValidationScheduler, Runnable { public boolean isEnabled() { return this.enabled; } }
ExecutorServiceSessionValidationScheduler implements SessionValidationScheduler, Runnable { public boolean isEnabled() { return this.enabled; } ExecutorServiceSessionValidationScheduler();  ExecutorServiceSessionValidationScheduler(ValidatingSessionManager sessionManager); }
ExecutorServiceSessionValidationScheduler implements SessionValidationScheduler, Runnable { public boolean isEnabled() { return this.enabled; } ExecutorServiceSessionValidationScheduler();  ExecutorServiceSessionValidationScheduler(ValidatingSessionManager sessionManager); ValidatingSessionManager getSessionManager(); void setSessionManager(ValidatingSessionManager sessionManager); long getSessionValidationInterval(); void setSessionValidationInterval(long sessionValidationInterval); boolean isEnabled(); void setThreadNamePrefix(String threadNamePrefix); String getThreadNamePrefix(); void enableSessionValidation(); void run(); void disableSessionValidation(); }
ExecutorServiceSessionValidationScheduler implements SessionValidationScheduler, Runnable { public boolean isEnabled() { return this.enabled; } ExecutorServiceSessionValidationScheduler();  ExecutorServiceSessionValidationScheduler(ValidatingSessionManager sessionManager); ValidatingSessionManager getSessionManager(); void setSessionManager(ValidatingSessionManager sessionManager); long getSessionValidationInterval(); void setSessionValidationInterval(long sessionValidationInterval); boolean isEnabled(); void setThreadNamePrefix(String threadNamePrefix); String getThreadNamePrefix(); void enableSessionValidation(); void run(); void disableSessionValidation();  }