To create an instance of EVCache with AppName="EVCACHE", cacheName="Test" and DefaultTTL="3600"
Below is an example to set value="John Doe" for key="name"EVCache myCache = new EVCache.Builder().setAppName("EVCACHE").setCacheName("Test").setDefaultTTL(3600).build();
To read the value for key="name"myCache.set("name", "John Doe");
@author smadappaString value = myCache.get("name");
|
|
|
|
|
|