Package | Description |
---|---|
com.gemstone.gemfire.cache |
Provides an implementation of distributed object caching that
can leverage GemFire's distribution capabilities.
|
Modifier and Type | Method and Description |
---|---|
Cache |
CacheFactory.create()
Creates a new cache that uses the configured distributed system.
|
static Cache |
CacheFactory.create(DistributedSystem system)
Deprecated.
as of 6.5 use
CacheFactory.CacheFactory(Properties) instead. |
void |
Region.create(K key,
V value)
Creates a new entry in this region with the specified key and value.
|
void |
Region.create(K key,
V value,
Object aCallbackArgument)
Creates a new entry in this region with the specified key and value,
providing a user-defined parameter
object to any
CacheWriter invoked in the process. |
Region<K,V> |
RegionFactory.create(String name)
Creates a region with the given name in this factory's
Cache
using the configuration contained in this factory. |
<K,V> Region<K,V> |
Cache.createRegion(String name,
RegionAttributes<K,V> aRegionAttributes)
Deprecated.
as of 6.5 use
Cache.createRegionFactory(RegionAttributes) instead |
<SK,SV> Region<SK,SV> |
Region.createSubregion(String subregionName,
RegionAttributes<SK,SV> aRegionAttributes)
Deprecated.
|
<K,V> Region<K,V> |
Cache.createVMRegion(String name,
RegionAttributes<K,V> aRegionAttributes)
Deprecated.
as of GemFire 5.0, use
Cache.createRegion(java.lang.String, com.gemstone.gemfire.cache.RegionAttributes<K, V>) instead. |
V |
Region.destroy(Object key)
Destroys the entry with the specified key.
|
V |
Region.destroy(Object key,
Object aCallbackArgument)
Destroys the entry with the specified key, and provides a user-defined
parameter object to any
CacheWriter invoked in the process. |
void |
Region.destroyRegion()
Destroys the whole region.
|
void |
Region.destroyRegion(Object aCallbackArgument)
Destroys the whole region and provides a user-defined parameter
object to any
CacheWriter invoked in the process. |
V |
Region.get(Object key)
Returns the value associated with the specified key.
|
V |
Region.get(Object key,
Object aCallbackArgument)
Returns the value associated with the specified key, passing the callback
argument to any cache loaders or cache writers that are invoked in the
operation.
|
void |
Region.invalidate(Object key)
Invalidates the entry with the specified key.
|
void |
Region.invalidate(Object key,
Object aCallbackArgument)
Invalidates the entry with the specified key,
and provides a user-defined argument to the
CacheListener . |
void |
Region.invalidateRegion()
Invalidates this region.
|
void |
Region.invalidateRegion(Object aCallbackArgument)
Invalidates this region.
|
void |
GemFireCache.loadCacheXml(InputStream is)
Loads the cache configuration described in a declarative caching XML
file into this cache.
|
void |
Region.loadSnapshot(InputStream inputStream)
Deprecated.
as of 7.0 use
Region.getSnapshotService() |
V |
LoaderHelper.netSearch(boolean doNetLoad)
Searches other caches for the value to be loaded.
|
V |
Region.put(K key,
V value)
Places a new value into an entry in this region with the specified key.
|
V |
Region.put(K key,
V value,
Object aCallbackArgument)
Places a new value into an entry in this region with the specified key,
providing a user-defined parameter
object to any
CacheWriter invoked in the process. |
Constructor and Description |
---|
RegionFactory()
Deprecated.
as of 6.5 use
Cache.createRegionFactory() instead. |
RegionFactory(Properties distributedSystemProperties)
Deprecated.
as of 6.5 use
CacheFactory.CacheFactory(Properties) and Cache.createRegionFactory() instead. |
RegionFactory(Properties distributedSystemProperties,
RegionAttributes<K,V> regionAttributes)
Deprecated.
as of 6.5 use
CacheFactory.CacheFactory(Properties) and Cache.createRegionFactory(RegionAttributes) instead. |
RegionFactory(Properties distributedSystemProperties,
String regionAttributesId)
Deprecated.
as of 6.5 use
CacheFactory.CacheFactory(Properties) and Cache.createRegionFactory(String) instead. |
RegionFactory(RegionAttributes<K,V> regionAttributes)
Deprecated.
as of 6.5 use
Cache.createRegionFactory(RegionAttributes) instead. |
RegionFactory(String regionAttributesId)
Deprecated.
as of 6.5 use
Cache.createRegionFactory(String) instead. |
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.