| 构造器和说明 |
|---|
Level1CacheSupport() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
<T> T |
get(String key) |
static Level1CacheSupport |
getInstance() |
boolean |
publishSyncEvent(String key) |
void |
remove(String key) |
boolean |
set(String key,
Object value) |
void |
setCacheNames(String cacheNames) |
void |
setCacheProvider(Level1CacheProvider cacheProvider) |
void |
setDistributedMode(boolean distributedMode) |
void |
setPassword(String password) |
void |
setServers(String servers) |
public static Level1CacheSupport getInstance()
public boolean publishSyncEvent(String key)
public <T> T get(String key)
public void remove(String key)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionpublic void destroy()
throws Exception
destroy 在接口中 org.springframework.beans.factory.DisposableBeanExceptionpublic void setServers(String servers)
public void setPassword(String password)
public void setCacheProvider(Level1CacheProvider cacheProvider)
public void setDistributedMode(boolean distributedMode)
public void setCacheNames(String cacheNames)
Copyright © 2016. All rights reserved.