public class SchematicEntryLookup extends Object
SchematicEntry
s are created/retrieved, to prevent concurrent creation, registration and possibly overwriting of
such a value within the cache.SchematicEntry
Constructor and Description |
---|
SchematicEntryLookup() |
Modifier and Type | Method and Description |
---|---|
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 void |
removeSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext,
String key)
Removes the atomic map associated with the given key from the underlying cache.
|
public static SchematicEntry getSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext, String key)
cacheContext
- cache contextkey
- key under which the schematic value existspublic static SchematicEntry getReadOnlySchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext, String key)
cacheContext
- cache contextkey
- key under which the atomic map existspublic static void removeSchematicValue(org.infinispan.schematic.internal.CacheContext cacheContext, String key)
cacheContext
- cache contextkey
- key under which the atomic map existsCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.