public abstract class ClusterInfoParser extends Object
ClusterInfo parser that parses -cluster parameter and
transforms it into a cluster info.
The following arguments to the -cluster parameters are allowed: total_members=1,1
(1,1 is an example value), id=1 (1 is an example value), backup_id=1
(1 is an example value) and schema=primary_backup (primary_backup is an example
value).
The container allows not to specify explicit instanceId or backupId. In
this case, it will create several processing units that run embedded within the JVM.
| Modifier and Type | Field and Description |
|---|---|
static String |
CLUSTER_PARAMETER_BACKUPID |
static String |
CLUSTER_PARAMETER_CLUSTERSCHEMA |
static String |
CLUSTER_PARAMETER_INSTANCEID |
static String |
CLUSTER_PARAMETER_TOTALMEMBERS |
| Constructor and Description |
|---|
ClusterInfoParser() |
| Modifier and Type | Method and Description |
|---|---|
static void |
guessSchema(ClusterInfo clusterInfo)
Guess the cluster schema if not set.
|
static ClusterInfo |
parse(CommandLineParser.Parameter[] params) |
public static final String CLUSTER_PARAMETER_TOTALMEMBERS
public static final String CLUSTER_PARAMETER_INSTANCEID
public static final String CLUSTER_PARAMETER_BACKUPID
public static final String CLUSTER_PARAMETER_CLUSTERSCHEMA
public static ClusterInfo parse(CommandLineParser.Parameter[] params) throws IllegalArgumentException
IllegalArgumentExceptionpublic static void guessSchema(ClusterInfo clusterInfo)
partitioned_sync2backup.Copyright © GigaSpaces.