cc.spray.can

PeerConfig

trait PeerConfig extends AnyRef

The common configuration elements of a ServerConfig and a ClientConfig.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. PeerConfig
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def idleTimeout : Long

    The time period in milliseconds that an open HTTP connection has to be idle before automatically being closed.

    The time period in milliseconds that an open HTTP connection has to be idle before automatically being closed. Set to zero to disable connection timeouts.

    Default: 10,000 ms = 10 seconds

    Attributes
    abstract
  2. def parserConfig : MessageParserConfig

    The configuration of the spray-can message parser.

    The configuration of the spray-can message parser.

    Attributes
    abstract
  3. def readBufferSize : Int

    The size of the read buffer used for processing incoming messages.

    The size of the read buffer used for processing incoming messages. Usually there should be little reason to configure it to a value different from its default of 8192 (bytes).

    Attributes
    abstract
  4. def reapingCycle : Long

    The reapingCycle is the time in milliseconds between two runs of the "reaper", which is the logic that closes open HTTP connections whose idle timeout has exceeded the configured value.

    The reapingCycle is the time in milliseconds between two runs of the "reaper", which is the logic that closes open HTTP connections whose idle timeout has exceeded the configured value. Larger values (very slightly) increase overall server or client efficiency (since less time is being spent looking for timed out connections) whereas smaller values increase the precision with which idle connections are really closed after the configured idle timeout. The default value is 500, which means that the reaper runs twice per second.

    Attributes
    abstract
  5. def requestTimeout : Long

    The time period in milliseconds that are response has to be produced by the application (in the case of the ServerConfig) or received by the server (in the case of the ClientConfig.

    The time period in milliseconds that are response has to be produced by the application (in the case of the ServerConfig) or received by the server (in the case of the ClientConfig. Set to zero to disable request timeouts. The default value is 5000 ms = 5 seconds.

    Attributes
    abstract
  6. def timeoutCycle : Long

    The timeoutCycle is the time in milliseconds between two runs of the logic that determines which of all open requests have timed out.

    The timeoutCycle is the time in milliseconds between two runs of the logic that determines which of all open requests have timed out. Larger values (very slightly) increase overall server or client efficiency (since less time is being spent looking for timed out requests) whereas smaller values increase the precision with which timed out requests are really reacted on after the configured timeout time has elapsed. The default value is 200.

    Attributes
    abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  12. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  13. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  14. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  16. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  17. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  18. def toString (): String

    Definition Classes
    AnyRef → Any
  19. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any