case class Settings(address: InetSocketAddress = "127.0.0.1" :: 1113, connectionTimeout: FiniteDuration = 1.second, maxReconnections: Int = 100, reconnectionDelayMin: FiniteDuration = 250.millis, reconnectionDelayMax: FiniteDuration = 10.seconds, defaultCredentials: Option[UserCredentials] = Some(UserCredentials.DefaultAdmin), heartbeatInterval: FiniteDuration = 500.millis, heartbeatTimeout: FiniteDuration = 5.seconds, operationMaxRetries: Int = 10, operationTimeout: FiniteDuration = 30.seconds, resolveLinkTos: Boolean = false, requireMaster: Boolean = true, readBatchSize: Int = 500, bufferSize: Int = 100000, bufferOverflowStrategy: OverflowStrategy = OverflowStrategy.Fail, cluster: Option[ClusterSettings] = None, http: HttpSettings = HttpSettings(), serializationParallelism: Int = 8, serializationOrdered: Boolean = true, connectionName: Option[String] = Some("jvm-client")) extends Product with Serializable
- address
IP & port of Event Store
- connectionTimeout
The desired connection timeout
- maxReconnections
Maximum number of reconnections before backing off, -1 to reconnect forever
- reconnectionDelayMin
Delay before first reconnection
- reconnectionDelayMax
Maximum delay on reconnections
- defaultCredentials
The UserCredentials to use for operations where other UserCredentials are not explicitly supplied.
- heartbeatInterval
The interval at which to send heartbeat messages.
- heartbeatTimeout
The interval after which an unacknowledged heartbeat will cause the connection to be considered faulted and disconnect.
- operationMaxRetries
The maximum number of operation retries
- operationTimeout
The amount of time before an operation is considered to have timed out
- resolveLinkTos
Whether to resolve LinkTo events automatically
- requireMaster
Whether or not to require Event Store to refuse serving read or write request if it is not master
- readBatchSize
Number of events to be retrieved by client as single message
- bufferSize
The size of the buffer in element count
- bufferOverflowStrategy
Strategy that is used when elements cannot fit inside the buffer
- http
Url to access eventstore though the Http API
- serializationParallelism
The number of serialization/deserialization functions to be run in parallel
- serializationOrdered
Serialization done asynchronously and these futures may complete in any order, but results will be used with preserved order if set to true
- connectionName
Client identifier used to show a friendly name of client in Event Store.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Settings
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Settings(address: InetSocketAddress = "127.0.0.1" :: 1113, connectionTimeout: FiniteDuration = 1.second, maxReconnections: Int = 100, reconnectionDelayMin: FiniteDuration = 250.millis, reconnectionDelayMax: FiniteDuration = 10.seconds, defaultCredentials: Option[UserCredentials] = Some(UserCredentials.DefaultAdmin), heartbeatInterval: FiniteDuration = 500.millis, heartbeatTimeout: FiniteDuration = 5.seconds, operationMaxRetries: Int = 10, operationTimeout: FiniteDuration = 30.seconds, resolveLinkTos: Boolean = false, requireMaster: Boolean = true, readBatchSize: Int = 500, bufferSize: Int = 100000, bufferOverflowStrategy: OverflowStrategy = OverflowStrategy.Fail, cluster: Option[ClusterSettings] = None, http: HttpSettings = HttpSettings(), serializationParallelism: Int = 8, serializationOrdered: Boolean = true, connectionName: Option[String] = Some("jvm-client"))
- address
IP & port of Event Store
- connectionTimeout
The desired connection timeout
- maxReconnections
Maximum number of reconnections before backing off, -1 to reconnect forever
- reconnectionDelayMin
Delay before first reconnection
- reconnectionDelayMax
Maximum delay on reconnections
- defaultCredentials
The UserCredentials to use for operations where other UserCredentials are not explicitly supplied.
- heartbeatInterval
The interval at which to send heartbeat messages.
- heartbeatTimeout
The interval after which an unacknowledged heartbeat will cause the connection to be considered faulted and disconnect.
- operationMaxRetries
The maximum number of operation retries
- operationTimeout
The amount of time before an operation is considered to have timed out
- resolveLinkTos
Whether to resolve LinkTo events automatically
- requireMaster
Whether or not to require Event Store to refuse serving read or write request if it is not master
- readBatchSize
Number of events to be retrieved by client as single message
- bufferSize
The size of the buffer in element count
- bufferOverflowStrategy
Strategy that is used when elements cannot fit inside the buffer
- http
Url to access eventstore though the Http API
- serializationParallelism
The number of serialization/deserialization functions to be run in parallel
- serializationOrdered
Serialization done asynchronously and these futures may complete in any order, but results will be used with preserved order if set to true
- connectionName
Client identifier used to show a friendly name of client in Event Store.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Settings, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val address: InetSocketAddress
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bufferOverflowStrategy: OverflowStrategy
- val bufferSize: Int
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val cluster: Option[ClusterSettings]
- val connectionName: Option[String]
- val connectionTimeout: FiniteDuration
- val defaultCredentials: Option[UserCredentials]
- def ensuring(cond: (Settings) ⇒ Boolean, msg: ⇒ Any): Settings
- def ensuring(cond: (Settings) ⇒ Boolean): Settings
- def ensuring(cond: Boolean, msg: ⇒ Any): Settings
- def ensuring(cond: Boolean): Settings
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val heartbeatInterval: FiniteDuration
- val heartbeatTimeout: FiniteDuration
- val http: HttpSettings
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxReconnections: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val operationMaxRetries: Int
- val operationTimeout: FiniteDuration
- val readBatchSize: Int
- val reconnectionDelayMax: FiniteDuration
- val reconnectionDelayMin: FiniteDuration
- val requireMaster: Boolean
- val resolveLinkTos: Boolean
- val serializationOrdered: Boolean
- val serializationParallelism: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def →[B](y: B): (Settings, B)