Quantcast
Viewing all articles
Browse latest Browse all 249166

Re: Detecting existing DS or Cache in VM

DistributedSystem.connect is deprecated as of GemFire 6.5. CacheFactory.create and ClientCacheFactory.create are the recommended API's to create peer and client Cache instances, respectively. These create methods will detect if there is an existing Cache/DistributedSystem instance, and return it (as long as it is compatible with the configured properties passed to the factory), so you don't have to worry if a Cache or DistributedSystem already exists.


Viewing all articles
Browse latest Browse all 249166

Trending Articles