readEntriesServer(String) method

Returns an array of ODataEntry Objects stored for the given URL key in the server Cache The return type will be an array of Entries.

Syntax

public List< IODataEntry > readEntriesServer (String URLKey) throws CacheException

Parameters

Exceptions

Example 1


Try{

ILogger logger = new Logger();
ICache cache =new Cache(getApplicationContext(),logger);
List<IODataEntry> entries = cache.readEntriesServer(urlkey);
IODataEntry entry = entries.get(0);
String Name =entry.getPropertyValue("NAME");

}
Catch(CacheException e){
}