public class SystemPropertyInstanceIdGenerator extends Object implements InstanceIdGenerator
system property
to configure the scheduler.
If no value set for the property, a SchedulerException is thrown| Modifier and Type | Field and Description |
|---|---|
static String |
SYSTEM_PROPERTY
System property to read the instanceId from
|
| Constructor and Description |
|---|
SystemPropertyInstanceIdGenerator() |
| Modifier and Type | Method and Description |
|---|---|
String |
generateInstanceId()
Returns the cluster wide value for this scheduler instance's id, based on a system property
|
public static final String SYSTEM_PROPERTY
public String generateInstanceId() throws SchedulerException
generateInstanceId in interface InstanceIdGeneratorsystem propertySchedulerException - Shouldn't a value be foundCopyright © 2015. All rights reserved.