Class JavaStandaloneHttpServer.ExecutorWithTimeout

  • All Implemented Interfaces:
    java.util.concurrent.Executor, tigase.kernel.beans.config.ConfigurationChangedAware, tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware
    Enclosing class:
    JavaStandaloneHttpServer

    @Bean(name="executor",
          parent=JavaStandaloneHttpServer.class,
          active=true,
          exportable=true)
    public static class JavaStandaloneHttpServer.ExecutorWithTimeout
    extends java.lang.Object
    implements java.util.concurrent.Executor, tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware, tigase.kernel.beans.config.ConfigurationChangedAware
    • Constructor Detail

      • ExecutorWithTimeout

        public ExecutorWithTimeout()
    • Method Detail

      • execute

        public void execute​(java.lang.Runnable command)
        Specified by:
        execute in interface java.util.concurrent.Executor
      • beforeUnregister

        public void beforeUnregister()
        Specified by:
        beforeUnregister in interface tigase.kernel.beans.UnregisterAware
      • initialize

        public void initialize()
        Specified by:
        initialize in interface tigase.kernel.beans.Initializable
      • beanConfigurationChanged

        public void beanConfigurationChanged​(java.util.Collection<java.lang.String> changedFields)
        Specified by:
        beanConfigurationChanged in interface tigase.kernel.beans.config.ConfigurationChangedAware
      • getAcceptTimeout

        public int getAcceptTimeout()
      • getTimeout

        public int getTimeout()