Class ClientCacheImpl
java.lang.Object
ch.tocco.nice2.web.core.impl.servlet.ClientCacheImpl
- All Implemented Interfaces:
ClientCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ClientEntry clientEntry) void
changeUsername
(String oldName, String newName) protected RunEnv
void
invalidate
(UUID clientId) void
void
setRecordCacheStats
(boolean recordCacheStats) long
size()
com.google.common.cache.CacheStats
stats()
-
Constructor Details
-
ClientCacheImpl
-
-
Method Details
-
setRecordCacheStats
@Value("${nice2.web.clientcache.recordStats}") public void setRecordCacheStats(boolean recordCacheStats) -
invalidateAll
public void invalidateAll()- Specified by:
invalidateAll
in interfaceClientCache
-
invalidate
- Specified by:
invalidate
in interfaceClientCache
-
size
public long size()- Specified by:
size
in interfaceClientCache
-
stats
public com.google.common.cache.CacheStats stats()- Specified by:
stats
in interfaceClientCache
-
get
- Specified by:
get
in interfaceClientCache
-
add
- Specified by:
add
in interfaceClientCache
-
changeUsername
- Specified by:
changeUsername
in interfaceClientCache
-
currentRunEnv
-