1
|
#------------------------------------------------------------------------------#
|
2
|
# JPPF. #
|
3
|
# Copyright (C) 2005-2010 JPPF Team. #
|
4
|
# http://www.jppf.org #
|
5
|
# #
|
6
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
7
|
# you may not use this file except in compliance with the License. #
|
8
|
# You may obtain a copy of the License at #
|
9
|
# #
|
10
|
# http://www.apache.org/licenses/LICENSE-2.0 #
|
11
|
# #
|
12
|
# Unless required by applicable law or agreed to in writing, software #
|
13
|
# distributed under the License is distributed on an "AS IS" BASIS, #
|
14
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
|
15
|
# See the License for the specific language governing permissions and #
|
16
|
# limitations under the License. #
|
17
|
#------------------------------------------------------------------------------#
|
18
|
|
19
|
|
20
|
|
21
|
|
22
|
#------------------------------------------------------------------------------#
|
23
|
# List of drivers this client may connect to. #
|
24
|
# If auto discovery of the server is enabled, this needs not be specified. #
|
25
|
#------------------------------------------------------------------------------#
|
26
|
|
27
|
jppf.drivers = driver1
|
28
|
|
29
|
#------------------------------------------------------------------------------#
|
30
|
# Host name, or ip address, of the host the JPPF driver is running on #
|
31
|
# If auto discovery of the server is enabled, this needs not be specified. #
|
32
|
#------------------------------------------------------------------------------#
|
33
|
|
34
|
driver1.jppf.server.host = localhost
|
35
|
|
36
|
#------------------------------------------------------------------------------#
|
37
|
# port number for the class server that performs remote class loading #
|
38
|
# default value is 11111; uncomment to specify a different value #
|
39
|
# If auto discovery of the server is enabled, this needs not be specified. #
|
40
|
#------------------------------------------------------------------------------#
|
41
|
|
42
|
driver1.class.server.port = 11111
|
43
|
|
44
|
#------------------------------------------------------------------------------#
|
45
|
# port number the clients / applications connect to #
|
46
|
# default value is 11112; uncomment to specify a different value #
|
47
|
# If auto discovery of the server is enabled, this needs not be specified. #
|
48
|
#------------------------------------------------------------------------------#
|
49
|
|
50
|
driver1.app.server.port = 11112
|
51
|
|
52
|
#------------------------------------------------------------------------------#
|
53
|
# JMX management port of the driver #
|
54
|
# default value is 11198; uncomment to specify a different value #
|
55
|
# If auto discovery of the server is enabled, this needs not be specified. #
|
56
|
#------------------------------------------------------------------------------#
|
57
|
|
58
|
#jppf.management.port = 11098
|
59
|
#jppf.management.enabled = false
|
60
|
|
61
|
#------------------------------------------------------------------------------#
|
62
|
# Priority given to the driver #
|
63
|
# The client is always connected to the available driver(s) with the highest #
|
64
|
# priority. If multiple drivers have the same priority, they will be used as a #
|
65
|
# pool and tasks will be evenly distributed among them. #
|
66
|
# default value is 0; uncomment to specify a different value #
|
67
|
#------------------------------------------------------------------------------#
|
68
|
|
69
|
driver1.priority = 10
|
70
|
driver1.jppf.pool.size = 10
|
71
|
|
72
|
#driver2.jppf.server.host = localhost
|
73
|
#driver2.class.server.port = 11121
|
74
|
#driver2.app.server.port = 11122
|
75
|
#driver2.priority = 10
|
76
|
|
77
|
#------------------------------------------------------------------------------#
|
78
|
# Maximum time in milliseconds spent trying to initialize at least one #
|
79
|
# connection, before releasing control to the main application thread. #
|
80
|
# default value is 1000 (1 second); uncomment to specify a different value #
|
81
|
#------------------------------------------------------------------------------#
|
82
|
|
83
|
#jppf.client.max.init.time = 1000
|
84
|
|
85
|
#------------------------------------------------------------------------------#
|
86
|
# Automatic recovery: number of seconds before the first reconnection attempt. #
|
87
|
# default value is 1; uncomment to specify a different value #
|
88
|
#------------------------------------------------------------------------------#
|
89
|
|
90
|
#reconnect.initial.delay = 1
|
91
|
|
92
|
#------------------------------------------------------------------------------#
|
93
|
# Automatic recovery: time after which the system stops trying to reconnect, #
|
94
|
# in seconds. A value of zero or less means the system nevers stops trying. #
|
95
|
# default value is 60; uncomment to specify a different value #
|
96
|
#------------------------------------------------------------------------------#
|
97
|
|
98
|
reconnect.max.time = -1
|
99
|
|
100
|
#------------------------------------------------------------------------------#
|
101
|
# Automatic recovery: time between two connection attempts, in seconds. #
|
102
|
# default value is 1; uncomment to specify a different value #
|
103
|
#------------------------------------------------------------------------------#
|
104
|
|
105
|
#reconnect.interval = 1
|
106
|
|
107
|
#------------------------------------------------------------------------------#
|
108
|
# Enable local execution of tasks? Default value is false #
|
109
|
#------------------------------------------------------------------------------#
|
110
|
|
111
|
#jppf.local.execution.enabled = true
|
112
|
|
113
|
#------------------------------------------------------------------------------#
|
114
|
# Number of threads to use for loacal execution #
|
115
|
# The default value is the number of CPUs available to the JVM #
|
116
|
#------------------------------------------------------------------------------#
|
117
|
|
118
|
#jppf.local.execution.threads = 4
|
119
|
|
120
|
#------------------------------------------------------------------------------#
|
121
|
# Enable/Disable automatic discovery of JPPF drivers. #
|
122
|
# default value is true; uncomment to specify a different value #
|
123
|
#------------------------------------------------------------------------------#
|
124
|
|
125
|
jppf.discovery.enabled = false
|
126
|
|
127
|
#------------------------------------------------------------------------------#
|
128
|
# UDP multicast group to which drivers broadcast their connection parameters #
|
129
|
# and to which clients and nodes listen. Default value is 230.0.0.1 #
|
130
|
#------------------------------------------------------------------------------#
|
131
|
|
132
|
#jppf.discovery.group = 230.0.0.1
|
133
|
|
134
|
#------------------------------------------------------------------------------#
|
135
|
# UDP multicast port to which drivers broadcast their connection parameters #
|
136
|
# and to which clients and nodes listen. Default value is 11111 #
|
137
|
#------------------------------------------------------------------------------#
|
138
|
|
139
|
#jppf.discovery.port = 11111
|
140
|
|