public enum CacheConcurrencyStrategy extends Enum<CacheConcurrencyStrategy>
Enum Constant and Description |
---|
NONE |
NONSTRICT_READ_WRITE |
READ_ONLY |
READ_WRITE |
TRANSACTIONAL |
Modifier and Type | Method and Description |
---|---|
static CacheConcurrencyStrategy |
fromAccessType(AccessType accessType) |
static CacheConcurrencyStrategy |
parse(String name) |
AccessType |
toAccessType() |
static CacheConcurrencyStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheConcurrencyStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheConcurrencyStrategy NONE
public static final CacheConcurrencyStrategy READ_ONLY
public static final CacheConcurrencyStrategy NONSTRICT_READ_WRITE
public static final CacheConcurrencyStrategy READ_WRITE
public static final CacheConcurrencyStrategy TRANSACTIONAL
public static CacheConcurrencyStrategy[] values()
for (CacheConcurrencyStrategy c : CacheConcurrencyStrategy.values()) System.out.println(c);
public static CacheConcurrencyStrategy 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 static CacheConcurrencyStrategy fromAccessType(AccessType accessType)
public static CacheConcurrencyStrategy parse(String name)
public AccessType toAccessType()
Copyright © 2018 JBoss by Red Hat. All rights reserved.