public class UtilSystemCache extends java.lang.Object implements UtilSiteCacheInterface, UtilSystemLogInterface, UtilSystemParameterInterface, UtilSystemValueInterface, UtilSystemExecutorService
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCurrentSiteId() |
static UtilSystemCache |
getInstance()
系统配置对象
|
java.lang.String |
getLocalPath(java.lang.String tag) |
java.lang.String |
getSiteUrl(java.lang.String tag) |
java.lang.String |
getSystemParameterValue(java.lang.String name) |
java.lang.String |
getSystemParameterValue(java.lang.String name,
java.lang.String def) |
java.lang.String |
getSystemTag() |
static void |
init(UtilSiteCacheInterface utilSiteCacheInterface) |
static void |
init(UtilSystemExecutorService utilSystemExecutorService) |
static void |
init(UtilSystemLogInterface utilSystemLogInterface) |
static void |
init(UtilSystemParameterInterface utilSystemParameterInterface) |
static void |
init(UtilSystemValueInterface utilSystemValueInterface) |
ch.qos.logback.classic.Logger |
LOG_ERROR() |
ch.qos.logback.classic.Logger |
LOG_INFO() |
java.util.concurrent.ThreadPoolExecutor |
newCachedThreadPool(java.lang.Class cls) |
com.alibaba.fastjson.JSONObject |
systemParameterToJSONObject(java.lang.String name) |
public static UtilSystemCache getInstance()
public static void init(UtilSiteCacheInterface utilSiteCacheInterface)
public static void init(UtilSystemLogInterface utilSystemLogInterface)
public static void init(UtilSystemParameterInterface utilSystemParameterInterface)
public static void init(UtilSystemValueInterface utilSystemValueInterface)
public static void init(UtilSystemExecutorService utilSystemExecutorService)
public java.lang.String getSiteUrl(java.lang.String tag)
getSiteUrl 在接口中 UtilSiteCacheInterfacepublic java.lang.String getLocalPath(java.lang.String tag)
getLocalPath 在接口中 UtilSiteCacheInterfacepublic int getCurrentSiteId()
getCurrentSiteId 在接口中 UtilSiteCacheInterfacepublic ch.qos.logback.classic.Logger LOG_INFO()
LOG_INFO 在接口中 UtilSystemLogInterfacepublic ch.qos.logback.classic.Logger LOG_ERROR()
LOG_ERROR 在接口中 UtilSystemLogInterfacepublic java.lang.String getSystemParameterValue(java.lang.String name)
public java.lang.String getSystemParameterValue(java.lang.String name,
java.lang.String def)
public com.alibaba.fastjson.JSONObject systemParameterToJSONObject(java.lang.String name)
public java.lang.String getSystemTag()
getSystemTag 在接口中 UtilSystemValueInterfacepublic java.util.concurrent.ThreadPoolExecutor newCachedThreadPool(java.lang.Class cls)
newCachedThreadPool 在接口中 UtilSystemExecutorServiceCopyright © 2017. All Rights Reserved.