Package tigase.http.java
Class JavaStandaloneHttpServer.ExecutorWithTimeout
- java.lang.Object
-
- tigase.http.java.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JavaStandaloneHttpServer.ExecutorWithTimeout.Timer
-
Constructor Summary
Constructors Constructor Description ExecutorWithTimeout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beanConfigurationChanged(java.util.Collection<java.lang.String> changedFields)
void
beforeUnregister()
void
execute(java.lang.Runnable command)
int
getAcceptTimeout()
int
getTimeout()
void
initialize()
-
-
-
Method Detail
-
execute
public void execute(java.lang.Runnable command)
- Specified by:
execute
in interfacejava.util.concurrent.Executor
-
beforeUnregister
public void beforeUnregister()
- Specified by:
beforeUnregister
in interfacetigase.kernel.beans.UnregisterAware
-
initialize
public void initialize()
- Specified by:
initialize
in interfacetigase.kernel.beans.Initializable
-
beanConfigurationChanged
public void beanConfigurationChanged(java.util.Collection<java.lang.String> changedFields)
- Specified by:
beanConfigurationChanged
in interfacetigase.kernel.beans.config.ConfigurationChangedAware
-
getAcceptTimeout
public int getAcceptTimeout()
-
getTimeout
public int getTimeout()
-
-