Annotation Type ServerConfig
Listener settings, compiled in.
Each attribute is the cn1.server.* key named beside it, and sets that key's
value at the bottom of the configuration, so PORT, a properties file or the
environment still override it. An attribute left at its default sets nothing.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintcn1.server.backlog: the listen backlog.intcn1.server.port.intcn1.server.shutdownTimeoutMillis: how long a stop waits for the requests in flight.intcn1.server.workers: the request thread pool.
-
Element Details
-
port
int portcn1.server.port.- Default:
-1
-
workers
int workerscn1.server.workers: the request thread pool.- Default:
-1
-
backlog
int backlogcn1.server.backlog: the listen backlog.- Default:
-1
-
shutdownTimeoutMillis
int shutdownTimeoutMilliscn1.server.shutdownTimeoutMillis: how long a stop waits for the requests in flight.- Default:
-1
-