Singleton design pattern

what is singleton Design pattern A design patten in which a class must ensure that only single instance should be created and single object can be used by all other classes where and when to use it Singleton pattern is mostly used in multi-threaded and database applications. It is used in logging, caching, thread pools, configuration settings etc. how you have used it Integer primarypoolmaxconnection Integer secondarypoolmaxconnection and cache map.
Recent posts