Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
This ticket is the parent ticket to remove all invocations of CacheFactory.getAnyInstance(), GemFireCacheImpl.getInstance(), etc...
This improvement is complete is there are no more usages of the static methods to retrieve a Cache
As per some work that [~huynhja] has done
_ grep -rl "GemFireCacheImpl.getInstance" --include *.java . > GemFireCacheImplList.txt
grep -rl "CacheFactory.getAnyInstance" --include *.java . > CacheFactoryList.txt
grep -rl "InternalDistributedSystem.getAnyInstance" --include *.java . > InternalDistributedSystemList.txt
I've attached the files to this email...
The combinedList.txt is a grep that combined all 3 calls into a single file... _
[EDIT] Complete list of all singleton getters for which calls need to be removed:
- CacheFactory.getAnyInstance()
- CacheFactory.getInstance(DistributedSystem)
- CacheFactory.getInstanceCloseOk(DistributedSystem)
- GemFireCacheImpl.getExisting()
- GemFireCacheImpl.getExisting(String)
- GemFireCacheImpl.getForPdx(String)
- GemFireCacheImpl.getInstance()
- GemFireCacheImpl.setInstanceForTests(GemFireCacheImpl)
- InternalDistributedSystem.getAnyInstance()
- InternalDistributedSystem getConnectedInstance()
- InternalDistributedSystem unsafeGetConnectedInstance()
Attachments
Attachments
Issue Links
- links to