Set config for the connecting DCache
- property : set tars registry address
eg: tars.tarsregistry.QueryObj@tcp -h ip_addr -p 17890
-
ModuleName : set module name of the KVCache App
eg: DCacheApp_test -
CacheObj : set Cache object name of the App
eg: DCache.DCacheApp_testKVCacheServer1-1.CacheObj -
WCacheObj : set WCache object name of the App
eg: DCache.DCacheApp_testKVCacheServer1-1.WCacheObj
-
build
bash build.sh build -
clear
bash build.sh clear
help
./DCache-Cli helpget
./DCache-Cli get keygets
./DCache-Cli gets key1 key2 key3 ...getkeys
./DCache-Cli getkeyscheck
./DCache-Cli check key1 key2 key3 ...set
./DCache-Cli set key valuesets
./DCache-Cli sets key1:value1 key2:value2 key3:value3 ...insert
./DCache-Cli insert key valuedel
./DCache-Cli del keydels
./DCache-Cli dels key1 key2 key3| Directory | Description |
|---|---|
| conf | Configuration file of the DCache |
| model | Function models of the Client Tools |
| pkg | Proxy package of the DCache |
| test | Benchmark of the DCache |
demo.go is a demo script for the DCache Client