public enum DefaultTemplate extends Enum<DefaultTemplate>
Enum Constant and Description |
---|
DIST_ASYNC |
DIST_SYNC |
INVALIDATION_ASYNC |
INVALIDATION_SYNC |
LOCAL |
REPL_ASYNC |
REPL_SYNC |
SCATTERED_SYNC |
Modifier and Type | Method and Description |
---|---|
String |
getTemplateName()
Use this method to retrieve the value of a template configured in the infinispan-defaults.xml file
|
static DefaultTemplate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultTemplate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultTemplate LOCAL
public static final DefaultTemplate REPL_SYNC
public static final DefaultTemplate REPL_ASYNC
public static final DefaultTemplate DIST_SYNC
public static final DefaultTemplate DIST_ASYNC
public static final DefaultTemplate INVALIDATION_SYNC
public static final DefaultTemplate INVALIDATION_ASYNC
public static final DefaultTemplate SCATTERED_SYNC
public static DefaultTemplate[] values()
for (DefaultTemplate c : DefaultTemplate.values()) System.out.println(c);
public static DefaultTemplate 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 nullpublic String getTemplateName()
Copyright © 2021 JBoss by Red Hat. All rights reserved.