Multiple db connection using same redis instance

20 views
Skip to first unread message

rohit...@gmail.com

unread,
Apr 17, 2018, 12:01:20 PM4/17/18
to Redis DB
I am creating redissionclient using Singleton class using replicatedserver and making connection db1 database.

At runtime, i want to utilize the same Singleton instance to connect to db0 to perform some operation without disturbing the existing redissionclient instance.

Since creating a new instance would be time consuming, i want it this way.

Any suggestions/ideas how can i make this possible?
Reply all
Reply to author
Forward
0 new messages