public String getKey ( String key ) { try { String _response = evCache . < String > get ( key ) ; return _response ; } catch ( Exception e ) { e . printStackTrace ( ) ; return null ; } }
Get the data for a key from the cache . Returns null if the key could not be retrieved whether due to a cache miss or errors .