| Package | Description |
|---|---|
| org.gridgain.grid.cache |
Contains main Data Grid APIs.
|
| org.gridgain.grid.kernal.processors.cache | |
| org.gridgain.grid.kernal.processors.rest.handlers.cache |
REST in-memory data grid commands.
|
| Modifier and Type | Method and Description |
|---|---|
static GridCacheFlag |
GridCacheFlag.fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCacheFlag |
GridCacheFlag.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridCacheFlag[] |
GridCacheFlag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GridCacheFlag> |
GridCacheProjection.flags()
Gets cache flags enabled on this projection.
|
Collection<GridCacheFlag> |
GridCacheFlagException.flags() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheProjection<K,V> |
GridCacheProjection.flagsOff(GridCacheFlag... flags)
Gets cache projection base on this but with the specified flags turned off.
|
GridCacheProjection<K,V> |
GridCacheProjection.flagsOn(GridCacheFlag... flags)
Gets cache projection base on this one, but with the specified flags turned on.
|
| Constructor and Description |
|---|
GridCacheFlagException(GridCacheFlag... flags) |
| Constructor and Description |
|---|
GridCacheFlagException(Collection<GridCacheFlag> flags) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheFlag[] |
GridCacheContext.forcedFlags()
Gets forced flags for current thread.
|
GridCacheFlag[] |
GridCacheContext.forceFlags(GridCacheFlag[] flags)
Force projection flags for the current thread.
|
GridCacheFlag[] |
GridCacheContext.forceLocal()
Forces LOCAL flag.
|
GridCacheFlag[] |
GridCacheContext.forceLocalRead()
Forces LOCAL and READ flags.
|
| Modifier and Type | Method and Description |
|---|---|
Set<GridCacheFlag> |
GridCacheProjectionImpl.flags()
Gets cache flags enabled on this projection.
|
Set<GridCacheFlag> |
GridCacheAdapter.flags()
Gets cache flags enabled on this projection.
|
Set<GridCacheFlag> |
GridCacheProxyImpl.flags()
Gets cache flags enabled on this projection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheContext.denyOnFlag(GridCacheFlag flag) |
void |
GridCacheContext.denyOnFlags(GridCacheFlag[] flags) |
GridCacheProjection<K,V> |
GridCacheProjectionImpl.flagsOff(GridCacheFlag[] flags)
Gets cache projection base on this but with the specified flags turned off.
|
GridCacheProjection<K,V> |
GridCacheAdapter.flagsOff(GridCacheFlag[] flags)
Gets cache projection base on this but with the specified flags turned off.
|
GridCacheProjection<K,V> |
GridCacheProxyImpl.flagsOff(GridCacheFlag[] flags)
Gets cache projection base on this but with the specified flags turned off.
|
GridCacheProjection<K,V> |
GridCacheProjectionImpl.flagsOn(GridCacheFlag[] flags)
Gets cache projection base on this one, but with the specified flags turned on.
|
GridCacheProjection<K,V> |
GridCacheAdapter.flagsOn(GridCacheFlag[] flags)
Gets cache projection base on this one, but with the specified flags turned on.
|
GridCacheProjection<K,V> |
GridCacheProxyImpl.flagsOn(GridCacheFlag[] flags)
Gets cache projection base on this one, but with the specified flags turned on.
|
GridCacheFlag[] |
GridCacheContext.forceFlags(GridCacheFlag[] flags)
Force projection flags for the current thread.
|
boolean |
GridCacheContext.hasAnyFlags(GridCacheFlag[] flags)
Checks whether any of the given flags is set.
|
boolean |
GridCacheContext.hasFlag(GridCacheFlag flag) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheContext.checkTxFlags(Collection<GridCacheFlag> flags) |
void |
GridCacheContext.denyOnFlags(Collection<GridCacheFlag> flags) |
boolean |
GridCacheContext.hasAnyFlags(Collection<GridCacheFlag> flags)
Checks whether any of the given flags is set.
|
| Constructor and Description |
|---|
GridCacheProjectionImpl(GridCacheProjection<K,V> parent,
GridCacheContext<K,V> cctx,
GridBiPredicate<K,V> kvFilter,
GridPredicate<? super GridCacheEntry<K,V>> entryFilter,
Set<GridCacheFlag> flags,
UUID subjId) |
| Modifier and Type | Method and Description |
|---|---|
static GridCacheFlag[] |
GridCacheCommandHandler.parseCacheFlags(int cacheFlagsBits)
Retrieves cache flags from corresponding bits.
|
Copyright © 2014. All rights reserved.