public enum RegistryStrategy extends Enum<RegistryStrategy>
Enum Constant and Description |
---|
CACHE
Use a synchronized replicated infinispan cache to synchronize between parallel instances.
|
DATABASE
Use the database to synchronize between several parallel instances.
|
LOCAL
Use a local in-memory hash map to synchronize between parallel instances.
|
Modifier and Type | Method and Description |
---|---|
static RegistryStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegistryStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistryStrategy DATABASE
public static final RegistryStrategy CACHE
public static final RegistryStrategy LOCAL
public static RegistryStrategy[] values()
for (RegistryStrategy c : RegistryStrategy.values()) System.out.println(c);
public static RegistryStrategy 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 © 2012–2018 The Apache Software Foundation. All rights reserved.