java - Spring Data Redis: What is the difference between the two ways to obtain ZSetOperations? -


first example

@resource stringredistemplate stringredistemplate; zsetoperations<string, string> zsetops = stringredistemplate.opsforzset(); 

second example

@resource(name="stringredistemplate") private zsetoperations<string, string> zsetops; 

can explain difference between first , second , whether second 1 working first one?


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -