CacheFactory Class |
Note: This API is now obsolete.
Namespace: GemStone.GemFire.Cache
The CacheFactory type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ProductDescription |
Returns the product description string including product name and version.
|
![]() ![]() | Version |
Returns the version of the cache implementation.
For the 1.0 release of GemFire, the string returned is 1.0.
|
Name | Description | |
---|---|---|
![]() | AddLocator |
Add a locator, given its host and port, to this factory.
|
![]() | AddServer |
Add a server, given its host and port, to this factory.
|
![]() | Create |
To create the instance of Cache.
|
![]() ![]() | Create(String, DistributedSystem) |
Creates a new cache using the specified system.
|
![]() ![]() | Create(String, DistributedSystem, CacheAttributes) |
Creates a new cache using the specified system using the given
CacheAttributes.
|
![]() ![]() | Create(String, DistributedSystem, String) |
Creates a new cache using the specified system using parameters
from the given XML file.
|
![]() ![]() | Create(String, DistributedSystem, String, CacheAttributes) |
Creates a new cache using the specified system using parameters
from the given XML file and with
the given CacheAttributes.
|
![]() ![]() | CreateCacheFactory |
A factory class that must be used to obtain instance of Cache.
This should be called once. Using this one can set default values of [!:Pool].
|
![]() ![]() | CreateCacheFactory(Properties) |
A factory class that must be used to obtain instance of Cache.
This should be called once. Using this one can set default values of [!:Pool].
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetAnyInstance |
Gets an arbitrary open instance of Cache produced by an
earlier call to [!:CacheFactory.Create].
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() ![]() | GetInstance |
Gets the instance of Cache produced by an
earlier call to [!:CacheFactory.Create].
|
![]() ![]() | GetInstanceCloseOk |
Gets the instance of Cache produced by an
earlier call to [!:CacheFactory.Create], even if it has been closed.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Set |
Sets a gemfire property that will be used when creating the ClientCache.
|
![]() | SetFreeConnectionTimeout |
Sets the free connection timeout for this pool.
|
![]() | SetIdleTimeout |
Set the amount of time a connection can be idle before expiring the connection.
|
![]() | SetLoadConditioningInterval |
Sets the load conditioning interval for this pool.
|
![]() | SetMaxConnections |
Set the max number of client to server connections that the pool will create.
|
![]() | SetMinConnections |
Set the minimum number of connections to keep available at all times.
|
![]() | SetMultiuserAuthentication |
Sets whether pool is in multiuser mode
|
![]() ![]() | SetNewAndDelete |
Set allocators for non default Microsoft CRT versions.
|
![]() | SetPingInterval |
Set how often to ping servers to verify that they are still alive.
|
![]() | SetPRSingleHopEnabled | |
![]() | SetReadTimeout |
Sets the number of milliseconds to wait for a response from a server before
timing out the operation and trying another server (if any are available).
|
![]() | SetRetryAttempts |
Set the number of times to retry a request after timeout/exception.
|
![]() | SetServerGroup |
Configures the group that all servers this pool connects to must belong to.
|
![]() | SetSocketBufferSize |
Sets the socket buffer size for each connection made in this pool.
|
![]() | SetStatisticInterval |
Set how often to send client statistics to the server.
|
![]() | SetSubscriptionAckInterval |
Sets the is the interval in milliseconds to wait before sending
acknowledgements to the bridge server for events received from the server subscriptions.
|
![]() | SetSubscriptionEnabled |
Enable subscriptions.
|
![]() | SetSubscriptionMessageTrackingTimeout |
Sets the messageTrackingTimeout attribute which is the time-to-live period,
in milliseconds, for subscription events the client has received from the server.
|
![]() | SetSubscriptionRedundancy |
Sets the redundancy level for this pools server-to-client subscriptions.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
To get an existing unclosed cache instance, use [!:CacheFactory.GetInstance].