com
.
hindog
.
grid
GridConfig
Related Docs:
object GridConfig
|
package grid
case class
GridConfig
(
name:
String
,
nodes:
Seq
[
NodeConfig
]
,
config: (
ViNode
) ⇒
ViNode
=
identity
,
startupHooks:
Seq
[
Hook
] =
Seq.empty
,
shutdownHooks:
Seq
[
Hook
] =
Seq.empty
,
repository:
Option
[
Repository
] =
None
)
extends
GridConfigurable
with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
GridConfigurable
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
GridConfig
Serializable
Serializable
Product
Equals
GridConfigurable
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
GridConfig
(
name:
String
,
nodes:
Seq
[
NodeConfig
]
,
config: (
ViNode
) ⇒
ViNode
=
identity
,
startupHooks:
Seq
[
Hook
] =
Seq.empty
,
shutdownHooks:
Seq
[
Hook
] =
Seq.empty
,
repository:
Option
[
Repository
] =
None
)
Type Members
type
Repr
=
GridConfig
Definition Classes
GridConfig
→
GridConfigurable
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
def
addNodes
(
addNodes:
NodeConfig
*
)
:
GridConfig
def
addNodes
(
nodes:
Array
[
NodeConfig
]
)
:
GridConfig
def
addShutdownHook
(
hook:
Hook
)
:
GridConfig
Definition Classes
GridConfig
→
GridConfigurable
def
addStartupHook
(
hook:
Hook
)
:
GridConfig
Definition Classes
GridConfig
→
GridConfigurable
def
apply
(
configStmt: (
ViNode
) ⇒
Unit
)
:
GridConfig
Definition Classes
GridConfig
→
GridConfigurable
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
config
: (
ViNode
) ⇒
ViNode
Definition Classes
GridConfig
→
GridConfigurable
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]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
name
:
String
Definition Classes
GridConfig
→
GridConfigurable
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
nodes
:
Seq
[
NodeConfig
]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
repository
:
Option
[
Repository
]
def
selectNodes
(
filter: (
NodeConfig
) ⇒
Boolean
)
:
GridConfig
def
selectRandomNode
:
GridConfig
def
selectUserHashedNode
:
GridConfig
val
shutdownHooks
:
Seq
[
Hook
]
Definition Classes
GridConfig
→
GridConfigurable
val
startupHooks
:
Seq
[
Hook
]
Definition Classes
GridConfig
→
GridConfigurable
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
@throws
(
...
)
def
withAddClasspath
(
cp:
String
)
:
Repr
Definition Classes
GridConfigurable
def
withConfig
(
configure: (
ViNode
) ⇒
ViNode
)
:
GridConfig
def
withConsoleFlush
(
flush:
Boolean
)
:
Repr
Definition Classes
GridConfigurable
def
withDebugClient
(
address:
String
=
...
,
port:
Int
=
5005
,
suspend:
Boolean
=
false
,
timeout:
Duration
=
10 seconds
)
:
Repr
Definition Classes
GridConfigurable
def
withDebugServer
(
port:
Int
=
5005
,
suspend:
Boolean
=
false
,
timeout:
Duration
=
Duration.Inf
)
:
Repr
Definition Classes
GridConfigurable
def
withEchoPrefix
(
prefix:
String
)
:
Repr
Definition Classes
GridConfigurable
def
withEchoPrefixDisabled
:
Repr
Definition Classes
GridConfigurable
def
withEnv
(
name:
String
,
value:
String
)
:
Repr
Definition Classes
GridConfigurable
def
withInheritClasspath
(
value:
Boolean
=
true
)
:
Repr
Definition Classes
GridConfigurable
def
withInheritedEnv
:
Repr
Definition Classes
GridConfigurable
def
withInheritedEnv
(
keys:
String
*
)
:
Repr
Definition Classes
GridConfigurable
def
withInheritedSystemProperties
:
Repr
Definition Classes
GridConfigurable
def
withInheritedSystemProperties
(
keys:
String
*
)
:
Repr
Definition Classes
GridConfigurable
def
withJavaAgent
(
file:
File
)
:
Repr
Definition Classes
GridConfigurable
def
withJvmArg
(
arg:
String
)
:
Repr
Definition Classes
GridConfigurable
def
withMaxHeap
(
heap:
String
)
:
Repr
Definition Classes
GridConfigurable
def
withMinHeap
(
heap:
String
)
:
Repr
Definition Classes
GridConfigurable
def
withName
(
name:
String
)
:
GridConfig
Definition Classes
GridConfig
→
GridConfigurable
def
withNodeTraceEnabled
:
Repr
Definition Classes
GridConfigurable
def
withNodes
(
nodes:
Array
[
NodeConfig
]
)
:
GridConfig
def
withNodes
(
nodes:
NodeConfig
*
)
:
GridConfig
def
withPropertyOverrides
(
props:
Properties
)
:
Repr
Definition Classes
GridConfigurable
def
withRemoveClasspath
(
cp:
String
)
:
Repr
Definition Classes
GridConfigurable
def
withSilentShutdown
:
Repr
Definition Classes
GridConfigurable
def
withStdErr
(
os:
PrintStream
=
System.err
)
:
Repr
Definition Classes
GridConfigurable
def
withStdErrEcho
(
enabled:
Boolean
=
true
)
:
Repr
Definition Classes
GridConfigurable
def
withStdIn
(
is:
InputStream
=
System.in
)
:
Repr
Definition Classes
GridConfigurable
def
withStdOut
(
os:
PrintStream
=
System.out
)
:
Repr
Definition Classes
GridConfigurable
def
withStdOutEcho
(
enabled:
Boolean
=
true
)
:
Repr
Definition Classes
GridConfigurable
def
withSystemProperties
(
props:
Properties
)
:
Repr
Definition Classes
GridConfigurable
def
withSystemProperty
(
key:
String
,
value:
String
)
:
Repr
Definition Classes
GridConfigurable
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
GridConfigurable
Inherited from
AnyRef
Inherited from
Any
Ungrouped