public interface Profile extends Configured<ProfileConfig>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Profile.Type<C extends ProfileConfig>
Profile type.
|
| Modifier and Type | Method and Description |
|---|---|
static Profile |
client()
Creates a new client profile.
|
void |
configure(AtomixConfig config)
Configures the Atomix instance.
|
static Profile |
consensus(Collection<String> members)
Creates a consensus profile.
|
static Profile |
consensus(String... members)
Creates a consensus profile.
|
static Profile |
dataGrid()
Creates a new data grid profile.
|
static Profile |
dataGrid(int numPartitions)
Creates a new data grid profile with the given number of partitions.
|
configstatic Profile consensus(String... members)
members - the consensus membersstatic Profile consensus(Collection<String> members)
members - the consensus membersstatic Profile dataGrid()
static Profile dataGrid(int numPartitions)
numPartitions - the number of partitionsstatic Profile client()
void configure(AtomixConfig config)
config - the Atomix configurationCopyright © 2013–2018. All rights reserved.