|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<CellCacheEvent.Source>
mondrian.server.monitor.CellCacheEvent.Source
public static enum CellCacheEvent.Source
Enumeration of sources of a cell cache segment.
| Enum Constant Summary | |
|---|---|
CACHE_CONTROL
a segment that has been deleted by a call through the CacheControl API. |
|
EXTERNAL
A segment that is placed into the cache by an external cache. |
|
ROLLUP
a segment that has been loaded in response to a user query, and populated by rolling up existing cache segments. |
|
SQL
A segment that has been loaded in response to a user query, and populated by generating and executing a SQL statement. |
|
| Method Summary | |
|---|---|
static CellCacheEvent.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CellCacheEvent.Source[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CellCacheEvent.Source EXTERNAL
Some caches (e.g. memcached) never generate this kind of event.
In infinispan, one scenario that causes this kind of event is as follows. A user issues an MDX query against a different Mondrian node in the same Infinispan cluster. To resolve missing cells, that node issues a SQL statement to load a segment. Infinispan propagates that segment to its peers, and each peer is notified that an "external segment" is now in the cache.
public static final CellCacheEvent.Source SQL
public static final CellCacheEvent.Source ROLLUP
public static final CellCacheEvent.Source CACHE_CONTROL
CacheControl API.
| Method Detail |
|---|
public static CellCacheEvent.Source[] values()
for (CellCacheEvent.Source c : CellCacheEvent.Source.values()) System.out.println(c);
public static CellCacheEvent.Source valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||