public T get ( String key ) { purge ( ) ; final Value val = map . get ( key ) ; final long time = System . currentTimeMillis ( ) ; return val != null && time < val . expire ? val . token : null ; }
Get a token from the cache .