public static void setSyncCache ( String name , Cache cache ) { if ( null == name || "" . equals ( name . trim ( ) ) || null == cache ) { return ; } GlobalSyncRedis . caches . put ( name , cache ) ; }
Set cache to the memory .