package org.crazycake.shiro;

import java.util.Set;

/**
 * redisManager interface
 *
 **/

public interface IRedisManager {

    /**
     * get value from redis
     * @param key key
     * @return value
     */
    byte[] get(byte[] key);

    /**
     * set
     * @param key key
     * @param value value
     * @return value
     */
    byte[] set(byte[] key, byte[] value, int expire);

    /**
     * del
     * @param key key
     */
    void del(byte[] key);

    /**
     * dbsize
     * @param pattern pattern
     * @return key-value size
     */
    Long dbSize(byte[] pattern);

    /**
     * keys
     * @param pattern key pattern
     * @return key set
     */
    Set<byte[]> keys(byte[] pattern);

}

@@ -249,24 +249,30 @@
 *%0A     * set
+ value
 %0A     * @par
@@ -270,32 +270,33 @@
    * @param key 
+ 
 key%0A     * @para
@@ -305,24 +305,52 @@
 value value%0A
+     * @param expire expire%0A
      * @retu

Fix checkstyle error