Package | Description |
---|---|
com.gemstone.gemfire |
The base package of the GemFire Java product, featuring highly
concurrent distributed caching
with cache event delivery, OQL querying, and remote cache administration, built using a DistributedSystem which includes a
DistributedLockService.
|
com.gemstone.gemfire.admin |
Provides an API for administering various GemFire components such
as a GemFire distributed
system, and processes that host GemFire Caches.
|
com.gemstone.gemfire.cache |
Provides an implementation of distributed object caching that
can leverage GemFire's distribution capabilities.
|
com.gemstone.gemfire.cache.client |
The
com.gemstone.gemfire.cache.client package provides APIs used
for client connectivity and caching. |
com.gemstone.gemfire.cache.execute |
The
com.gemstone.gemfire.cache.execute package provides APIs used
for function execution on gemfire system members. |
com.gemstone.gemfire.cache.partition |
Provides classes which operate on partitioned regions.
|
com.gemstone.gemfire.cache.query |
GemFire's query service, an implementation of an OQL/SQL-style
query processor with supporting indexes.
|
com.gemstone.gemfire.cache.util |
Provides utilities for use with the Caching API in the
com.gemstone.gemfire.cache.util package. |
com.gemstone.gemfire.cache.wan |
Modifier and Type | Method and Description |
---|---|
static <K,V> Region<K,V> |
DataSerializer.readRegion(DataInput in)
Reads an instance of Region.
|
Modifier and Type | Method and Description |
---|---|
static void |
DataSerializer.writeRegion(Region<?,?> rgn,
DataOutput out)
Writes an instance of Region.
|
Constructor and Description |
---|
RegionSubRegionSnapshot(Region reg)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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. |
Region |
DynamicRegionFactory.createDynamicRegion(String parentRegionName,
String regionName)
Creates the dynamic Region in the local cache and distributes the
creation to other caches.
|
<K,V> Region<K,V> |
Cache.createRegion(String name,
RegionAttributes<K,V> aRegionAttributes)
Deprecated.
as of 6.5 use
Cache.createRegionFactory(RegionAttributes) instead |
Region<K,V> |
RegionFactory.createSubregion(Region<?,?> parent,
String name)
Creates a sub-region in the
Cache using
the configuration contained in this RegionFactory. |
<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. |
<PK,PV> Region<PK,PV> |
Region.getParentRegion()
Gets the parent region of this region.
|
Region<K,V> |
Region.Entry.getRegion()
Returns the region that contains this entry.
|
Region<K,V> |
EntryOperation.getRegion()
Returns the region to which this cached object belongs or
the region that raised this event for
RegionEvent s. |
Region<?,?> |
InterestRegistrationEvent.getRegion()
Returns the region to which this interest belongs.
|
Region<K,V> |
AttributesMutator.getRegion()
Returns the Region whose attributes this mutator affects.
|
Region<K,V> |
LoaderHelper.getRegion()
Returns the region to which the entry belongs.
|
Region<K,V> |
CacheEvent.getRegion()
Returns the region to which this cached object belongs or
the region that raised this event for
RegionEvent s. |
Region |
RegionExistsException.getRegion()
Return the Region that already exists which prevented region creation.
|
<K,V> Region<K,V> |
RegionService.getRegion(String path)
Return the existing region (or subregion) with the specified
path.
|
<SK,SV> Region<SK,SV> |
Region.getSubregion(String path)
Returns a subregion with the specified name or null if doesn't exist.
|
Modifier and Type | Method and Description |
---|---|
Set<Region<?,?>> |
RegionService.rootRegions()
Returns unmodifiable set of the root regions that are in the region service.
|
Set<Region<?,?>> |
Region.subregions(boolean recursive)
Returns a Set of all subregions.
|
Modifier and Type | Method and Description |
---|---|
static Set<Role> |
RequiredRoles.checkForRequiredRoles(Region<?,?> region)
Returns a set of any currently missing required roles for the
specified region.
|
Region<K,V> |
RegionFactory.createSubregion(Region<?,?> parent,
String name)
Creates a sub-region in the
Cache using
the configuration contained in this RegionFactory. |
Set<DistributedMember> |
Cache.getMembers(Region r)
Returns a set of the members in the distributed system that have the
given region.
|
void |
RegionMembershipListener.initialMembers(Region<K,V> region,
DistributedMember[] initialMembers)
Invoked when the listener is first initialized and is
given the set of members that have the region created at that time.
|
static boolean |
RequiredRoles.isRoleInRegionMembership(Region<?,?> region,
Role role)
|
static Set<Role> |
RequiredRoles.waitForRequiredRoles(Region<?,?> region,
long timeout)
Returns a set of any currently missing required roles for the
specified region.
|
Constructor and Description |
---|
DiskAccessException(String msg,
Region r)
Constructs a new
DiskAccessException with a message string. |
RegionExistsException(Region rgn)
Constructs an instance of
RegionExistsException with the specified Region. |
RegionExistsException(Region rgn,
Throwable cause)
Constructs an instance of
RegionExistsException with the specified detail message
and cause. |
Modifier and Type | Method and Description |
---|---|
Region<K,V> |
ClientRegionFactory.create(String name)
Creates a region in the
ClientCache using
the configuration contained in this ClientRegionFactory. |
Region<K,V> |
ClientRegionFactory.createSubregion(Region<?,?> parent,
String name)
Creates a sub-region in the
ClientCache using
the configuration contained in this ClientRegionFactory. |
Modifier and Type | Method and Description |
---|---|
Region<K,V> |
ClientRegionFactory.createSubregion(Region<?,?> parent,
String name)
Creates a sub-region in the
ClientCache using
the configuration contained in this ClientRegionFactory. |
static Pool |
PoolManager.find(Region<?,?> region)
Find the pool used by the given region.
|
Modifier and Type | Method and Description |
---|---|
<K,V> Region<K,V> |
RegionFunctionContext.getDataSet()
Returns the reference to the Region on which the function is executed
|
Modifier and Type | Method and Description |
---|---|
static Execution |
FunctionService.onRegion(Region region)
Returns an
Execution object that can be used to execute a data
dependent function on the specified Region. |
Modifier and Type | Method and Description |
---|---|
static <K,V> Region<K,V> |
PartitionRegionHelper.getLocalData(Region<K,V> r)
Given a partitioned Region return a Region providing read access limited to
the local heap, writes using this Region have no constraints and behave the
same as a partitioned Region.
|
static <K,V> Region<K,V> |
PartitionRegionHelper.getLocalDataForContext(RegionFunctionContext c)
Given a RegionFunctionContext
for a partitioned Region,
return a Region providing read access limited to the function context.
|
static <K,V> Region<K,V> |
PartitionRegionHelper.getLocalPrimaryData(Region<K,V> r)
Given a partitioned Region return a Region providing read access to primary
copy of the data which is limited to the local heap, writes using this
Region have no constraints and behave the same as a partitioned Region.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Region<?,?>> |
PartitionRegionHelper.getColocatedRegions(Region<?,?> r)
Given a partitioned Region, return a map of colocated Regions.
|
static Map<String,Region<?,?>> |
PartitionRegionHelper.getLocalColocatedRegions(RegionFunctionContext c)
Given a RegionFunctionContext for a partitioned Region, return a map of colocated Regions
with read access limited to the context of the function.
|
Modifier and Type | Method and Description |
---|---|
void |
PartitionListener.afterRegionCreate(Region<?,?> region)
Callback invoked when a partition region is created
|
void |
PartitionListenerAdapter.afterRegionCreate(Region<?,?> region) |
static void |
PartitionRegionHelper.assignBucketsToPartitions(Region<?,?> region)
Decide which partitions will host which buckets.
|
static boolean |
PartitionManager.createPrimaryBucket(Region<?,?> region,
int bucketId,
boolean destroyExistingRemote,
boolean destroyExistingLocal)
This method creates a copy of the bucket on the current node, if no
copy already exists.
|
static <K,V> Set<DistributedMember> |
PartitionRegionHelper.getAllMembersForKey(Region<K,V> r,
K key)
Get all potential owners for a key.
|
static Map<String,Region<?,?>> |
PartitionRegionHelper.getColocatedRegions(Region<?,?> r)
Given a partitioned Region, return a map of colocated Regions.
|
static <K,V> Region<K,V> |
PartitionRegionHelper.getLocalData(Region<K,V> r)
Given a partitioned Region return a Region providing read access limited to
the local heap, writes using this Region have no constraints and behave the
same as a partitioned Region.
|
static <K,V> Region<K,V> |
PartitionRegionHelper.getLocalPrimaryData(Region<K,V> r)
Given a partitioned Region return a Region providing read access to primary
copy of the data which is limited to the local heap, writes using this
Region have no constraints and behave the same as a partitioned Region.
|
static PartitionRegionInfo |
PartitionRegionHelper.getPartitionRegionInfo(Region<?,?> region)
Gathers details about the specified partitioned region.
|
static <K,V> DistributedMember |
PartitionRegionHelper.getPrimaryMemberForKey(Region<K,V> r,
K key)
Get the current primary owner for a key.
|
static <K,V> Set<DistributedMember> |
PartitionRegionHelper.getRedundantMembersForKey(Region<K,V> r,
K key)
Get all potential redundant owners for a key.
|
static boolean |
PartitionRegionHelper.isPartitionedRegion(Region<?,?> r)
Test a Region to see if it is a partitioned Region
|
static <K> void |
PartitionRegionHelper.moveBucketByKey(Region<K,?> region,
DistributedMember source,
DistributedMember destination,
K key)
Moves the bucket which contains the given key from the source member to the
destination member.
|
static RebalanceResults |
PartitionRegionHelper.moveData(Region<?,?> region,
DistributedMember source,
DistributedMember destination,
float percentage)
Moves data from the source member to the destination member, up to the
given percentage of data (measured in bytes).
|
Modifier and Type | Method and Description |
---|---|
Region<?,?> |
Index.getRegion()
The Region this index is on
|
Modifier and Type | Method and Description |
---|---|
Index |
QueryService.getIndex(Region<?,?> region,
String indexName)
Get the Index from the specified Region with the specified name.
|
Collection<Index> |
QueryService.getIndexes(Region<?,?> region)
Get a collection of all the indexes on the specified Region
|
Collection<Index> |
QueryService.getIndexes(Region<?,?> region,
IndexType indexType)
Deprecated.
As of 6.6.2, use
QueryService.getIndexes(Region) only.
Get a collection of all the indexes on the specified Region of
the specified index type. |
void |
QueryService.removeIndexes(Region<?,?> region)
Remove all the indexes on the specified Region
|
Modifier and Type | Method and Description |
---|---|
Region<?,?> |
GatewayEvent.getRegion()
Deprecated.
Returns the
Region associated with this GatewayEvent . |
Modifier and Type | Method and Description |
---|---|
void |
BridgeClient.attach(Region r)
Deprecated.
Notify the BridgeClient that the given Region will begin delivering events to this BridgeClient.
|
void |
BridgeWriter.attach(Region r)
Deprecated.
Notify the BridgeWriter that the given Region will begin delivering events
to this BridgeWriter.
|
void |
BridgeLoader.attach(Region r)
Deprecated.
Notify the BridgeLoader that the given Region will begin calling
BridgeLoader.load(LoaderHelper) . |
void |
BridgeClient.detach(Region r)
Deprecated.
Notify the BridgeClient that the given region is no longer relevant.
|
void |
BridgeWriter.detach(Region r)
Deprecated.
Notify the BridgeWriter that the given region is no longer relevant.
|
void |
BridgeLoader.detach(Region r)
Deprecated.
Notify the BridgeLoader that the given region is no longer relevant.
|
void |
RegionMembershipListenerAdapter.initialMembers(Region<K,V> r,
DistributedMember[] initialMembers) |
Modifier and Type | Method and Description |
---|---|
Region<K,V> |
GatewayQueueEvent.getRegion()
Returns the
Region associated with this AsyncEvent |
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.