@MinMuleVersion(value="4.1") public enum SourceClusterSupport extends Enum<SourceClusterSupport>
Source can have when running in cluster mode.| Enum Constant and Description |
|---|
DEFAULT_ALL_NODES
Runs on all the cluster nodes by default, but the user can choose to only run on the primary one
|
DEFAULT_PRIMARY_NODE_ONLY
Only runs on the primary node by default, but the user can choose to run on all the nodes
|
NOT_SUPPORTED
The source doesn't support cluster mode and hence only runs on the primary node.
|
| Modifier and Type | Method and Description |
|---|---|
static SourceClusterSupport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceClusterSupport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceClusterSupport NOT_SUPPORTED
public static final SourceClusterSupport DEFAULT_ALL_NODES
public static final SourceClusterSupport DEFAULT_PRIMARY_NODE_ONLY
public static SourceClusterSupport[] values()
for (SourceClusterSupport c : SourceClusterSupport.values()) System.out.println(c);
public static SourceClusterSupport valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025 MuleSoft, Inc.. All rights reserved.