public class ConstellationProperties
extends java.util.Properties
Modifier and Type | Field and Description |
---|---|
boolean |
CLOSED
Value of the "closed" property.
|
boolean |
DISTRIBUTED |
static org.slf4j.Logger |
logger |
boolean |
MASTER
Value of the "master" property.
|
int |
POOLSIZE
Value of the "closed" property.
|
boolean |
PROFILE |
boolean |
PROFILE_ACTIVITY |
boolean |
PROFILE_COMMUNICATION |
java.lang.String |
PROFILE_OUTPUT |
boolean |
PROFILE_STEAL |
int |
QUEUED_JOB_LIMIT
Value of the "queue.limit" property.
|
int |
REMOTESTEAL_SIZE
Value of the "steal.size" property.
|
boolean |
REMOTESTEAL_THROTTLE |
int |
REMOTESTEAL_TIMEOUT |
static java.lang.String |
S_CLOSED
The "closed" property is a boolean property indicating whether the current run is a closed run, that is, whether the total
number of nodes involved is fixed.
|
static java.lang.String |
S_DISTRIBUTED
The "distributed" property is a boolean property instructing the
ConstellationFactory whether to create a
distributed constellation or not. |
static java.lang.String |
S_MASTER
The "master" property is a boolean property indicating whether the current constellation instance is a candidate to be the
master.
|
static java.lang.String |
S_POOLSIZE
The "poolSize" property is an integer property indicating the pool size if the current run is a closed run, that is, when
the total number of nodes involved is fixed.
|
static java.lang.String |
S_PREFIX
All properties start with the prefix "ibis.constellation.".
|
static java.lang.String |
S_PROFILE
The "profile" property is a boolean property indicating whether constellation should provide some timing information.
|
static java.lang.String |
S_PROFILE_ACTIVITY
The "profile.activity" property is a boolean property indicating whether constellation should provide some timing
information on the activity methods
Activity.cleanup(Constellation) ,
Activity.process(Constellation, Event) , and Activity.initialize(Constellation) . |
static java.lang.String |
S_PROFILE_COMMUNICATION
The "profile.communication" property is a boolean property indicating whether constellation should provide some timing
information on steal or event messages.
|
static java.lang.String |
S_PROFILE_OUTPUT
The "profile.output" property is a string property indicating an output file to write profile info to.
|
static java.lang.String |
S_PROFILE_STEAL
The "profile.steal" property is a boolean property indicating whether constellation should provide some timing information
on steals.
|
static java.lang.String |
S_QUEUED_JOB_LIMIT
When an executor spawns new activities, these new activities are initially added to queues that are local to this executor.
|
static java.lang.String |
S_REMOTESTEAL_SIZE
The "remotesteal.size" property is an integer property, specifying how many activities to try and steal on each steal
attempt, for remote steals.
|
static java.lang.String |
S_REMOTESTEAL_THROTTLE
The "remotesteal.throttle" property is a boolean property indicating whether only one outstanding remote steal request per
UnitExecutorContext is allowed.
|
static java.lang.String |
S_REMOTESTEAL_TIMEOUT
The "remotesteal.timeout" property is an integer property indicating the timeout for remote steal requests, in
milliseconds.
|
static java.lang.String |
S_STATISTICS
The "printStatistics" property is a boolean property indicating whether some constellation statistics should be printed or
not.
|
static java.lang.String |
S_STATISTICS_OUTPUT
The "statistics.output" property is a string property indicating an output file to write statistics to.
|
static java.lang.String |
S_STEAL_DELAY
The "steal.delay" property is an integer property, specifying the minimum time interval between failed steal attempts, in
milliseconds.
|
static java.lang.String |
S_STEAL_IGNORE_EMPTY_REPLIES
The "steal.ignoreEmptyReplies" property is a boolean property determining whether empty steal replies should be given or
not.
|
static java.lang.String |
S_STEAL_SIZE
The "steal.size" property is an integer property, specifying how many activities to try and steal on each steal attempt,
for local steals.
|
static java.lang.String |
S_STEALSTRATEGY
The "stealing" property is a string property defining the steal strategy to use.
|
boolean |
STATISTICS |
java.lang.String |
STATISTICS_OUTPUT |
int |
STEAL_DELAY |
boolean |
STEAL_IGNORE_EMPTY_REPLIES
Value of the "steal.ignoreEmptyReplies" property.
|
int |
STEAL_SIZE
Value of the "steal.size" property.
|
java.lang.String |
STEALSTRATEGY |
Constructor and Description |
---|
ConstellationProperties()
Convenience constructor, using the system properties.
|
ConstellationProperties(java.util.Properties p)
Creates a
ConstellationProperties object using the specified properties. |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
public static final org.slf4j.Logger logger
public static final java.lang.String S_PREFIX
public static final java.lang.String S_DISTRIBUTED
ConstellationFactory
whether to create a
distributed constellation or not. The default is "true".public final boolean DISTRIBUTED
public static final java.lang.String S_STEALSTRATEGY
public final java.lang.String STEALSTRATEGY
public static final java.lang.String S_REMOTESTEAL_THROTTLE
public final boolean REMOTESTEAL_THROTTLE
public static final java.lang.String S_REMOTESTEAL_TIMEOUT
public final int REMOTESTEAL_TIMEOUT
public static final java.lang.String S_PROFILE
public final boolean PROFILE
public static final java.lang.String S_PROFILE_COMMUNICATION
public final boolean PROFILE_COMMUNICATION
public static final java.lang.String S_PROFILE_ACTIVITY
Activity.cleanup(Constellation)
,
Activity.process(Constellation, Event)
, and Activity.initialize(Constellation)
. The default is "false".public final boolean PROFILE_ACTIVITY
public static final java.lang.String S_PROFILE_STEAL
public final boolean PROFILE_STEAL
public static final java.lang.String S_PROFILE_OUTPUT
System.out
is used.public final java.lang.String PROFILE_OUTPUT
public static final java.lang.String S_STATISTICS
S_STATISTICS_OUTPUT
.public final boolean STATISTICS
public static final java.lang.String S_STATISTICS_OUTPUT
System.out
is used.public final java.lang.String STATISTICS_OUTPUT
public static final java.lang.String S_STEAL_DELAY
public final int STEAL_DELAY
public static final java.lang.String S_STEAL_SIZE
public static final java.lang.String S_REMOTESTEAL_SIZE
public final int STEAL_SIZE
public final int REMOTESTEAL_SIZE
public static final java.lang.String S_STEAL_IGNORE_EMPTY_REPLIES
public final boolean STEAL_IGNORE_EMPTY_REPLIES
public static final java.lang.String S_CLOSED
public final boolean CLOSED
public static final java.lang.String S_POOLSIZE
public final int POOLSIZE
public static final java.lang.String S_MASTER
Constellation.isMaster()
. The default is "true".
Note that only one constellation instance will actually become the master. For that instance,
Constellation.isMaster()
will return true, for the other instances it will return false.public final boolean MASTER
public static final java.lang.String S_QUEUED_JOB_LIMIT
public final int QUEUED_JOB_LIMIT
public ConstellationProperties(java.util.Properties p)
ConstellationProperties
object using the specified properties.p
- the propertiespublic ConstellationProperties()