| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
DEFAULT_CACHE_KEY_PREFIX |
"shiro:cache:" |
public static final int |
DEFAULT_DEL_BATCH_SIZE |
5000 |
public static final int |
DEFAULT_FETCH_BATCH_SIZE |
50 |
public static final int |
DEFAULT_SCAN_BATCH_SIZE |
3000 |
public static final String |
GETDEL |
"if redis.call(\'exists\', KEYS[1]) > 0 then local value = redis.call(\'get\', KEYS[1]); redis.call(\'del\', KEYS[1]); return value else local r; return r end" |
public static final String |
GETSET |
"local previous = redis.call(\'get\', KEYS[1]); redis.call(\'psetex\', KEYS[1], ARGV[2], ARGV[1]); return previous" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
public static final String |
EMPTY_STRING |
"" |
| 限定符和类型 | 常量字段 | 值 |
|---|---|---|
protected static final int |
DEFAULT_BUFFER_SIZE |
1024 |
Copyright © 2020. All rights reserved.