case class ClusterNode(nodename: String, host: String, port: Int, maxIdle: Int = 8, database: Int = 0, secret: Option[Any] = None, timeout: Int = 0, maxConnections: Int = ..., poolWaitTimeout: Long = 3000) extends Product with Serializable
a level of abstraction for each node decoupling it from the address. A node is now identified by a name, so functions like replaceServer works seamlessly.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClusterNode
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ClusterNode(nodename: String, host: String, port: Int, maxIdle: Int = 8, database: Int = 0, secret: Option[Any] = None, timeout: Int = 0, maxConnections: Int = ..., poolWaitTimeout: Long = 3000)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val database: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val host: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxConnections: Int
- val maxIdle: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodename: String
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val poolWaitTimeout: Long
- val port: Int
- val secret: Option[Any]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timeout: Int
-
def
toString(): String
- Definition Classes
- ClusterNode → AnyRef → Any
-
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
- @throws( ... ) @native()