com.googlecode.jpattern.gwt.client.communication
Class ServerCallGetCacheableCommand_OLD<T extends com.googlecode.jpattern.shared.result.facade.ICommandFacadeResult<?>>
java.lang.Object
com.googlecode.jpattern.gwt.client.command.ACommand
com.googlecode.jpattern.gwt.client.communication.AServerCallCommand<T>
com.googlecode.jpattern.gwt.client.communication.ServerCallGetCacheableCommand_OLD<T>
public class ServerCallGetCacheableCommand_OLD<T extends com.googlecode.jpattern.shared.result.facade.ICommandFacadeResult<?>>
- extends AServerCallCommand<T>
This command uses a cache to reduce the number of calls to the server. Before perform the real get call, it checks if
a valid result for this get call is in a global cache (using the ICacheService), if yes the cached value is returned otherwise
the get call is performed and the result is stored in the cache.
- Author:
- Francesco Cina'
06/mag/2011
|
Method Summary |
protected void |
exec(com.googlecode.jpattern.shared.result.IResult commandResult)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerCallGetCacheableCommand_OLD
public ServerCallGetCacheableCommand_OLD(Map<String,String> inKeyValuesMap,
StringBuffer url,
GenericWrapper<T> callResult,
String cacheName)
exec
protected void exec(com.googlecode.jpattern.shared.result.IResult commandResult)
- Specified by:
exec in class ACommand
Copyright © 2011. All Rights Reserved.