@ Override public int size ( ) { Long longSize = 0L ; try { longSize = new Long ( redisManager . dbSize ( keySerializer . serialize ( this . keyPrefix + "*" ) ) ) ; } catch ( SerializationException e ) { logger . error ( "get keys error" , e ) ; } return longSize . intValue ( ) ; }
get all authorization key - value quantity