public enum CacheType extends Enum<CacheType>
| Enum Constant and Description |
|---|
INTERNAL
Internal cache, should not be visible via public API (caches used by IGFS, Hadoop, data structures).
|
MARSHALLER
Internal marshaller cache, should use separate thread pool.
|
USER
Regular cache created by user, visible via public API (e.g.
|
UTILITY
Internal replicated cache, should use separate thread pool.
|
| Modifier and Type | Method and Description |
|---|---|
GridIoPolicy |
ioPolicy() |
boolean |
userCache() |
static CacheType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheType USER
Ignite.cache(String)).public static final CacheType INTERNAL
public static final CacheType UTILITY
public static final CacheType MARSHALLER
public static CacheType[] values()
for (CacheType c : CacheType.values()) System.out.println(c);
public static CacheType 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 GridIoPolicy ioPolicy()
public boolean userCache()
True if cache created by user.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015