GemFire 5.5

Package com.gemstone.gemfire.cache.util

Provides utilities for use with the Caching API in the com.gemstone.gemfire.cache package.

See:
          Description

Interface Summary
BridgeMembershipEvent An event delivered to a BridgeMembershipListener when this process detects connection changes to BridgeServers or bridge clients.
BridgeMembershipListener A listener whose callback methods are invoked when this process detects connection changes to BridgeServers or bridge clients.
BridgeServer A cache bridge server that serves the contents of a Cache to VMs in another distributed system via a socket.
Gateway A Gateway represents a local proxy for a remote WAN (or distributed system).
Gateway.Endpoint An Endpoint represents a proxy to a remote host
GatewayEvent Interface GatewayEvent represents Cache events delivered to Gateways.
GatewayEventListener Implementers of interface GatewayEventListener process batches of GatewayEvents.
GatewayHub A GatewayHub manages a collection of Gateways.
ObjectSizer The sizer interface defines a method that when called returns the size of the object passed in.
 

Class Summary
BoundedLinkedHashMap Class BoundedLinkedHashMap is a bounded LinkedHashMap.
BridgeClient This class combines the BridgeWriter and BridgeLoader functionality into one class, sharing BridgeServer connections, optimizing the number of connections required when using a BridgeWriter and BridgeLoader separately.
BridgeEventCallbackArgument Class BridgeEventCallbackArgument is a wrapper on a callback arg plus the host and port of the client originating the event containing this BridgeEventCallbackArgument.
BridgeLoader A CacheLoader that loads data from one or more remote cacheserver processes.
BridgeMembership Provides utility methods for registering and unregistering BridgeMembershipListeners in this process.
BridgeMembershipListenerAdapter Utility class that implements all methods in BridgeMembershipListener with empty implementations.
BridgeWriter A CacheWriter that writes data to one or more remote CacheServer processes.
CacheListenerAdapter Utility class that implements all methods in CacheListener with empty implementations.
CacheWriterAdapter Utility class that implements all methods in CacheWriter with empty implementations.
CqListenerAdapter  
GatewayEventCallbackArgument Class GatewayEventCallbackArgument is a wrapper on a callback arg plus the id of the GatewayHub making the request.
GatewayQueueAttributes Class GatewayQueueAttributes contains attributes related to the Gateway queue such as batch size and disk directories.
ObjectSizerImpl This class provides an implementation of the ObjectSizer interface.
RegionMembershipListenerAdapter Utility class that implements all methods in RegionMembershipListener with empty implementations.
RegionRoleListenerAdapter Utility class that implements all methods in RegionRoleListener with empty implementations.
TransactionListenerAdapter Utility class that implements all methods in TransactionListener with empty implementations.
UniversalMembershipListenerAdapter The UniversalMembershipListenerAdapter is a wrapper for SystemMembershipListener and BridgeMembershipListener, providing a facade that makes both appear to customer code as a single SystemMembershipListener from the Admin API.
UniversalMembershipListenerAdapter.AdaptedMembershipEvent Adapts BridgeMembershipEvent to look like a SystemMembershipEvent
 

Exception Summary
BridgeWriterException An exception that is thrown by a BridgeWriter when a problem occurs when communicating with a bridge server.
ClientNotReadyException A ClientNotReadyException indicates a client attempted to invoke the Cache.readyForEvents() method, but failed.
EndpointDoesNotExistException An EndpointDoesNotExistException indicates a client Endpoint does not exist for the input name, host and port.
EndpointException An EndpointException is a generic exception that indicates a client Endpoint exception has occurred.
EndpointExistsException An EndpointExistsException indicates a client Endpoint already exists.
EndpointInUseException An EndpointInUseException indicates a client Endpoint is in use (meaning that it contains one or more Connections.
ServerRefusedConnectionException A ServerRefusedConnectionException indicates a client attempted to connect to a server, but the handshake was rejected.
 

Package com.gemstone.gemfire.cache.util Description

Provides utilities for use with the Caching API in the com.gemstone.gemfire.cache package.

Adapter classes are provided for convenience in implementing the CacheListener, RegionMembershipListener, RegionRoleListener, TransactionListener, and CacheWriter interfaces. These adapter classes simply implement the interfaces with empty methods so that subclasses only need implement the methods that are of interest.

Also provided are BridgeLoader/BridgeWriter/BridgeServer, which are used for Hierarchical Caching.


GemFire 5.5

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.