Package org.apache.geode.cache
package org.apache.geode.cache
-
ClassDescriptionAttributesFactory<K,
V> Deprecated.AttributesMutator<K,V> Supports modification of certain region attributes after the region has been created.Caches are obtained from theCacheFactory.create()method.User-defined objects that can be plugged into caching to receive callback notifications.Indicates that the caching system has been closed.CacheEvent<K,V> A region- or entry-related event affecting the cache.A generic exception, which indicates a cache error has occurred.Thrown when attempting to create aCacheif one already exists.Factory class used to create the singletoncacheand connect to the GemFire singletondistributed system.CacheListener<K,V> A listener to handle region or entry related events.CacheLoader<K,V> Allows data from outside of the VM to be placed into a region.Thrown from theCacheLoader.load(org.apache.geode.cache.LoaderHelper<K, V>)method indicating that an error occurred when a CacheLoader was attempting to load a value.A generic runtime exception that indicates a cache error has occurred.Defines common statistics information for both region and entries.The CacheTransactionManager interface allows applications to manage transactions on a perCachebasis.CacheWriter<K,V> A user-defined object defined in theRegionAttributesthat is called synchronously before a region or entry in the cache is modified.An exception thrown by aCacheWritermethod.Thrown when a problem is encountered while parsing a declarative caching XML file.ClassClientSessionrepresents a client connection on the server.Thrown when a commit fails due to a write conflict.Indicates that an attempt to notify required participants of a transaction involving one or more regions that are configured withMembershipAttributesmay have failed.Thrown when a commit fails to complete due to errorsCustomExpiry<K,V> This is the contract that acustom-expiryelement must honor.Enumerated type for region data policy.An object that can be described in a declarative caching XML file.Indicates that anIOExceptionduring a disk region operation.Provides disk storage for one or more regions.Factory for creating instances ofDiskStore.Deprecated.as of 6.5 useDiskStoreinsteadDeprecated.as of 6.5 useDiskStoreFactoryinsteadThis exception is thrown when two nodes are defined with same primary partitionsDeprecated.This class is deprecated.Configuration for dynamic region factory.DynamicRegionListeneris an interface that can be implemented to handle dynamic region-related events.Indicates that a method was invoked on an entry that has been destroyed.EntryEvent<K,V> Contains information about an event affecting an entry, including its identity and the the circumstances of the event.Thrown when attempting to create aRegion.Entrythat already exists in theRegion.Thrown when an operation is invoked onRegionfor an entry that doesn't exist in theRegion.EntryOperation<K,V> Gemfire Context passed toPartitionResolverto compute the data locationThe action that anEvictionAlgorithmtakes.The algorithm used to determine when to perform anEvictionActionAttributes that describe how aRegion's size is managed through an eviction controller.The EvictionAttributesMutator allows changes to be made to aEvictionAttributes.Enumerated type for expiration actions.Immutable parameter object for accessing and setting the attributes associated withtimeToLiveandidleTimeout.Thrown when a cache transaction fails to register with theUserTransaction(aka JTA transaction), most likely the cause of theUserTransaction'sjavax.transaction.Status#STATUS_MARKED_ROLLBACKstatus.Composite date type used to distribute the attributes for a fixed partition.Implementers of interfaceFixedPartitionResolverhelps to achieve explicit mapping of a "user defined" partition to a data member node.An exception indicating that a gateway configuration will not work with the remote side of the gateway's configuration.An exception thrown by aGateway.GemFireCache represents the singleton cache that must be created in order to use GemFire in a Java virtual machine.AnIncompatibleVersionExceptionthat the client version was not compatible with the server version.Enumerated type for region subscription interest policy.InterfaceInterestRegistrationEventencapsulated interest event information like region and keys of interest.InterfaceInterestRegisterationListenerprovides the ability for applications to be notified of interest registration and unregistration events.ClassInterestResultPolicyis an enumerated type for a register interest result.LoaderHelper<K,V> Provides a set of APIs to help the implementation of theCacheLoaderload method.Deprecated.this feature is scheduled to be removedIndicates a low memory condition either on the local or a remoteCache.Deprecated.this feature is scheduled to be removedDeprecated.as of GemFire 5.0, useDataPolicyinstead.Indicates that this client cannot contact any queue servers and therefore cannot perform operations that require a queue, such as registering interest.Indicates that this client cannot contact any servers and therefore cannot perform operations that require subscriptions, such as registering interest.Enumerated type for an event operation.Indicates that the operation that would have otherwise affected the cache has been aborted.PartitionAttributes<K,V> Attributes that define the partitioned character of a Partitioned Region.A factory that creates instances ofPartitionAttributeswhich are used to create a partitionedRegion.Indicates a failure to perform a distributed operation on a Partitioned Region after multiple attempts.Description of the conditions under which this exception is thrownPartitionResolver<K,V> Implementers of interfacePartitionResolverenable custom standard partitioning on thePartitionedRegion.
SeeFixedPartitionResolverto enable custom fixed partitioning.Region<K,V> Manages subregions and cached data.Region.Entry<K,V> A key-value pair containing the cached data in a region.Deprecated.the MembershipAttributes API is scheduled to be removedRegionAttributes<K,V> Defines attributes for configuring a region.Indicates that the region has been destroyed.Deprecated.the MembershipAttributes API is scheduled to be removedRegionEvent<K,V> Contains information about an event affecting a region, including its identity and the circumstances of the event.Indicates that the requested region already exists when a region is being created.RegionFactory<K,V> A listener that can be implemented to handle region membership events.Indicates that the region has been reinitialized.Deprecated.this feature is scheduled to be removedRegionRoleListener<K,V> Deprecated.this feature is scheduled to be removedA RegionService provides access to existingregionsthat exist in aGemFire cache.Each enum represents a predefinedRegionAttributesin aCache.Deprecated.this feature is scheduled to be removedA Generic exception to indicate that a resource exception has occurred.Deprecated.this API is scheduled to be removedRoleEvent<K,V> Deprecated.this feature is scheduled to be removedDeprecated.this feature is scheduled to be removedEnumerated type for region distribution scope.ClassSerializedCacheValuerepresents a serialized cache value.Thrown if statistics are requested when statistics are disabled on the region.Configuration attributes for defining subscriber requirements and behavior for aRegion.Thrown when a commit operation of a JTA enlisted cache transaction failsThrown if anetSearchtimes out without getting a response back from a cache, or when attempting to acquire a distributed lock.Thrown when the transactional data host has shutdown or no longer has the data being modified by the transaction.Indicates that an attempt was made to transactionally modify multiple keys that are not colocated on the same data host.Thrown when aRebalanceOperationoccurs concurrently with a transaction.An event that describes the culmination of an entire transaction.This is the superclass for all Exceptions that may be thrown by a GemFire transaction.The TransactionId interface is a "marker" interface that represents a unique GemFire transaction.This Exception is thrown in presence of node failures, when GemFire cannot know with certainty about the outcome of the transaction.A listener that can be implemented to handle transaction related events.A callback that is allowed to veto a transaction.Exception thrown by implementors ofTransactionWriter.beforeCommit(org.apache.geode.cache.TransactionEvent)to signal that the current transaction should be aborted.Indicates that an attempt was mode to invoke an operation that is not allowed in a transaction.AnUnsupportedVersionExceptionindicates an unsupported version.AnVersionExceptionis an exception that indicates a client / server version mismatch exception has occurred.
Cache.createRegionFactory(RegionShortcut)orClientCache.createClientRegionFactory(ClientRegionShortcut)instead.