Syntax

C#
public class CacheFactory
Visual Basic (Declaration)
Public Class CacheFactory
Visual C++
public ref class CacheFactory

The type exposes the following methods.

Public Methods

  NameDescription
Public methodAddLocator
Add a locator, given its host and port, to this factory.
Public methodAddServer
Add a server, given its host and port, to this factory.
Public methodStatic memberCreateOverloaded.
Public methodStatic memberCreateCacheFactoryOverloaded.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetAnyInstance
Gets an arbitrary open instance of Cache produced by an earlier call to Create()().
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodStatic memberGetInstance
Gets the instance of Cache produced by an earlier call to Create()().
Public methodStatic memberGetInstanceCloseOk
Gets the instance of Cache produced by an earlier call to Create()(), even if it has been closed.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSet
Sets a gemfire property that will be used when creating the ClientCache.
Public methodSetFreeConnectionTimeout
Sets the free connection timeout for this pool.
Public methodSetIdleTimeout
Set the amount of time a connection can be idle before expiring the connection.
Public methodSetLoadConditioningInterval
Sets the load conditioning interval for this pool.
Public methodSetMaxConnections
Set the max number of client to server connections that the pool will create.
Public methodSetMinConnections
Set the minimum number of connections to keep available at all times.
Public methodSetMultiuserAuthentication
Sets whether pool is in multiuser mode
Public methodStatic memberSetNewAndDelete
Set allocators for non default Microsoft CRT versions.
Public methodSetPingInterval
Set how often to ping servers to verify that they are still alive.
Public methodSetPRSingleHopEnabled
Public methodSetReadTimeout
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).
Public methodSetRetryAttempts
Set the number of times to retry a request after timeout/exception.
Public methodSetServerGroup
Configures the group that all servers this pool connects to must belong to.
Public methodSetSocketBufferSize
Sets the socket buffer size for each connection made in this pool.
Public methodSetStatisticInterval
Set how often to send client statistics to the server.
Public methodSetSubscriptionAckInterval
Sets the is the interval in milliseconds to wait before sending acknowledgements to the bridge server for events received from the server subscriptions.
Public methodSetSubscriptionEnabled
Enable subscriptions.
Public methodSetSubscriptionMessageTrackingTimeout
Sets the messageTrackingTimeout attribute which is the time-to-live period, in milliseconds, for subscription events the client has received from the server.
Public methodSetSubscriptionRedundancy
Sets the redundancy level for this pools server-to-client subscriptions.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

See Also