#------------------------------------------------------------------------------# # JPPF # # Copyright (C) 2005-2012 JPPF Team. # # http://www.jppf.org # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # # # http://www.apache.org/licenses/LICENSE-2.0 # # # # Unless required by applicable law or agreed to in writing, software # # distributed under the License is distributed on an "AS IS" BASIS, # # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # See the License for the specific language governing permissions and # # limitations under the License. # #------------------------------------------------------------------------------# #------------------------------------------------------------------------------# # List of drivers this client may connect to # #------------------------------------------------------------------------------# jppf.drivers = driver1 #jppf.drivers = driver1 driver2 #------------------------------------------------------------------------------# # Host name, or ip address, of the host the JPPF driver is running on # #------------------------------------------------------------------------------# driver1.jppf.server.host = localhost #------------------------------------------------------------------------------# # port number the server is listening to for connections # # default value is 11111; uncomment to specify a different value # #------------------------------------------------------------------------------# driver1.jppf.server.port = 11111 #------------------------------------------------------------------------------# # JMX management port of the driver # # default value is 11198; uncomment to specify a different value # #------------------------------------------------------------------------------# #jppf.management.port = 11098 #------------------------------------------------------------------------------# # Priority given to the driver # # The client is always connected to the available driver(s) with the highest # # priority. If multiple drivers have the same priority, they will be used as a # # pool and tasks will be evenly distributed among them. # # default value is 0; uncomment to specify a different value # #------------------------------------------------------------------------------# driver1.priority = 10 #driver2.jppf.server.host = localhost #driver2.jppf.server.port = 11121 #driver2.priority = 10 #------------------------------------------------------------------------------# # Enable/Disable automatic discovery of JPPF drivers. # # default value is true; uncomment to specify a different value # #------------------------------------------------------------------------------# #jppf.discovery.enabled = true #------------------------------------------------------------------------------# # UDP multicast group to which drivers broadcast their connection parameters # # and to which clients and nodes listen. Default value is 230.0.0.1 # #------------------------------------------------------------------------------# #jppf.discovery.group = 230.0.0.1 #------------------------------------------------------------------------------# # UDP multicast port to which drivers broadcast their connection parameters # # and to which clients and nodes listen. Default value is 11111 # #------------------------------------------------------------------------------# #jppf.discovery.port = 11111 #------------------------------------------------------------------------------# # The connection pool size for each discovered server. Default value is 1 # #------------------------------------------------------------------------------# jppf.pool.size = 2 #------------------------------------------------------------------------------# # Automatic recovery: number of seconds before the first reconnection attempt. # # default value is 1; uncomment to specify a different value # #------------------------------------------------------------------------------# #reconnect.initial.delay = 1 #------------------------------------------------------------------------------# # Automatic recovery: time after which the system stops trying to reconnect, # # in seconds. # # default value is 60; uncomment to specify a different value # #------------------------------------------------------------------------------# reconnect.max.time = 5 #------------------------------------------------------------------------------# # Automatic recovery: time between two connection attempts, in seconds. # # default value is 1; uncomment to specify a different value # #------------------------------------------------------------------------------# #reconnect.interval = 1 #------------------------------------------------------------------------------# # Enable local execution of tasks? Default value is false # #------------------------------------------------------------------------------# #jppf.local.execution.enabled = true #------------------------------------------------------------------------------# # Number of threads to use for loacal execution # # The default value is the number of CPUs available to the JVM # #------------------------------------------------------------------------------# #jppf.local.execution.threads = 4