public enum CacheConcurrencyStrategy extends Enum<CacheConcurrencyStrategy>
Enum Constant and Description |
---|
NONE
Use NONE if you do not want any Cache annotation to be set
|
NONSTRICT_READ_WRITE |
READ_ONLY |
READ_WRITE |
TRANSACTIONAL |
Modifier and Type | Method and Description |
---|---|
boolean |
isNone() |
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 boolean isNone()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.