https://github.com/kwon37xi/simple-spring-memcached-test-project
SimpleSpringMemcached Test Project
https://github.com/kwon37xi/simple-spring-memcached-test-project
Last synced: 3 months ago
JSON representation
SimpleSpringMemcached Test Project
- Host: GitHub
- URL: https://github.com/kwon37xi/simple-spring-memcached-test-project
- Owner: kwon37xi
- Created: 2014-11-30T06:20:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-18T14:07:20.000Z (almost 10 years ago)
- Last Synced: 2023-07-31T12:10:57.742Z (almost 2 years ago)
- Language: Java
- Size: 199 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple Sprint Memcached Learning test project
Test memcached server : `localhost:11211`
## Reproduce @ReadThroughMultiCache bug [#42](https://github.com/ragnor/simple-spring-memcached/issues/42)
_This bug has been fixed in Simple spring memcached 3.6.0._```
./gradlew runMain
```SSM configuration is in `SsmTestApplicationContext` class.
SSM 3.5.0 `@ReadThroughMultiCache` with `cacheConfiguration.setUseNameAsKeyPrefix(true);` does not work properly.
with `cacheConfiguration.setUseNameAsKeyPrefix(true);` CacheService.getStringsFromCache() method will throw IllegalStateException,
```
java.lang.IllegalStateException: Cannot be called twice in a row!
```
but with ``cacheConfiguration.setUseNameAsKeyPrefix(false);`, there will be no exception.
This configuration is in `ssmtest.SsmTestApplicationContext.cacheConfiguration` method.