Enum CacheComponent
- java.lang.Object
-
- java.lang.Enum<CacheComponent>
-
- org.jboss.as.clustering.infinispan.subsystem.CacheComponent
-
- All Implemented Interfaces:
Serializable,Comparable<CacheComponent>,ResourceServiceNameFactory
public enum CacheComponent extends Enum<CacheComponent> implements ResourceServiceNameFactory
Enumerates the configurable cache components- Author:
- Paul Ferraro
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKUPSEXPIRATIONLOCKINGMEMORYMODULESPARTITION_HANDLINGPERSISTENCESTATE_TRANSFERSTORE_WRITESTRING_TABLETRANSACTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.PathAddress cacheAddress)static CacheComponentvalueOf(String name)Returns the enum constant of this type with the specified name.static CacheComponent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODULES
public static final CacheComponent MODULES
-
EXPIRATION
public static final CacheComponent EXPIRATION
-
LOCKING
public static final CacheComponent LOCKING
-
MEMORY
public static final CacheComponent MEMORY
-
PERSISTENCE
public static final CacheComponent PERSISTENCE
-
STATE_TRANSFER
public static final CacheComponent STATE_TRANSFER
-
PARTITION_HANDLING
public static final CacheComponent PARTITION_HANDLING
-
STORE_WRITE
public static final CacheComponent STORE_WRITE
-
TRANSACTION
public static final CacheComponent TRANSACTION
-
STRING_TABLE
public static final CacheComponent STRING_TABLE
-
BACKUPS
public static final CacheComponent BACKUPS
-
-
Method Detail
-
values
public static CacheComponent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CacheComponent c : CacheComponent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CacheComponent valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getServiceName
public org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.PathAddress cacheAddress)
- Specified by:
getServiceNamein interfaceResourceServiceNameFactory
-
-