* @param context invocation context, ignored.
* @return returns an <code>CacheEntry</code> or null, if no entry is found.
*/
public InternalCacheValue perform(InvocationContext context) throws Throwable {
if (distributionManager != null && distributionManager.isAffectedByRehash(key)) return null;
GetKeyValueCommand command = commandsFactory.buildGetKeyValueCommand(key, flags);
command.setReturnCacheEntry(true);
InvocationContext invocationContext = icc.createRemoteInvocationContextForCommand(command, getOrigin());
CacheEntry cacheEntry = (CacheEntry) invoker.invoke(invocationContext, command);
if (cacheEntry == null) {
if (trace) log.trace("Did not find anything, returning null");
return null;