All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitee.fufu669.common.CacheKeyCommon Maven / Gradle / Ivy

There is a newer version: 6.666.66021
Show newest version
package com.gitee.fufu669.common;


/** @author wangfupeng */
public class CacheKeyCommon {

    public static final int PASSWORDUTIL_REDIS_ENCRYPTKEY_EXPIRE_DEFAULT_TIME_IN_SECONDS = 3666;

    public static final int REDIS_KEY_EXCEED_MAX_VALUE = 128;

    public static final String IP_UNKNOWN = "unknown";

    public static final String IP_127_0_0_1 = "127.0.0.1";

    public static final String IP_0_0_0_0_0_0_0_1 = "0:0:0:0:0:0:0:1";

    public static final int IP_DEFAULT_LENGTH = 15;

    public static final int CACHESERVICE_REDIS_DEFAULT_EXPIRED_SECONDS = 666666;

    public static final int CACHESERVICE_REDIS_LOCK_DEFAULT_EXPIRED_SECONDS = 6;

    public static final int CACHEFETCHLATERAOP_LOCK_EXPIRE_SECONDS = 60;

    public static final int CACHESERVICE_REDIS_DEFAULT_EXPIRED_SECONDS_25_HOURS = 86666;

    public static final int CACHESERVICE_REDIS_DEFAULT_EXPIRED_SECONDS_1_WEEK = 666666;

    public static final int CACHEFETCHLATERAOP_REFRESH_EXPIRE_SECONDS = -1;

    public static final int CACHEMOCKFETCHLATER_TYPE_DEFAULT = 3;

    public static final String LOCK = "lock:";

    public static final String CACHESERVICE_KEY_SEPERATOR = ":";

    public static final int DEFAULT_YES_VALUE = 1;

    public static final int DEFAULT_NO_VALUE = 0;

    public static final String TOKEN = "token:";

    public static final String PASSWORD = "password:";

    public static final String CHECKVISITFREQUENCY_LIMIT_VISIT_FORMULA = "1,1";

    public static final int MOCKEXECUTELATER_DEFAULT_SECONDS_BETWEEN_EXECUTIONS = -1;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy