|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.infinispan.schematic.internal.SchematicEntryLookup
public class SchematicEntryLookup
A helper that locates or safely constructs and registers schematic values with a given cache. This should be the only
way SchematicEntrys are created/retrieved, to prevent concurrent creation, registration and possibly overwriting of
such a value within the cache.
SchematicEntry| Constructor Summary | |
|---|---|
SchematicEntryLookup()
|
|
| Method Summary | |
|---|---|
static SchematicEntry |
getReadOnlySchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key)
Retrieves an atomic map from a given cache, stored under a given key, for reading only. |
static SchematicEntry |
getSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key)
Retrieves a schematic value from the given cache, stored under the given key. |
static SchematicEntry |
getSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key,
boolean createIfAbsent)
Retrieves a schematic value from the given cache, stored under the given key. |
static SchematicEntry |
getSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key,
org.infinispan.context.FlagContainer flagContainer)
Retrieves a schematic value from the given cache, stored under the given key. |
static void |
removeSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key)
Removes the atomic map associated with the given key from the underlying cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchematicEntryLookup()
| Method Detail |
|---|
public static SchematicEntry getSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key)
cacheContext - cache contextkey - key under which the schematic value exists
public static SchematicEntry getSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key,
boolean createIfAbsent)
cacheContext - cache contextkey - key under which the atomic map existscreateIfAbsent - if true, a new atomic map is created if one doesn't exist; otherwise null is returned if the map
didn't exist.
public static SchematicEntry getSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key,
org.infinispan.context.FlagContainer flagContainer)
cacheContext - cache contextkey - key under which the atomic map existsflagContainer - a container to pass in per-invocation flags to the underlying cache. May be null if no flags are used.
public static SchematicEntry getReadOnlySchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key)
cacheContext - cache contextkey - key under which the atomic map exists
public static void removeSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key)
cacheContext - cache contextkey - key under which the atomic map exists
|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||