Recarregar um mapa é o mesmo que pré-carregar um mapa, exceto que o argumento isPreload é configurado para false no método ClientLoader.load.
// Get the StateManager
StateManager stateMgr = StateManagerFactory.getStateManager();
// Set ObjectGrid state to PRELOAD before calling ClientLoader.loader
stateMgr.setObjectGridState(AvailabilityState.PRELOAD, objectGrid);
ClientLoader c = ClientLoaderFactory.getClientLoader();
// Load the data
String loadSql = "select c from CUSTOMER c
where c.custId >= :startCustId and c.custId < :endCustId ";
Map<String, Long> params = new HashMap<String, Long>();
params.put("startCustId", 1000L);
params.put("endCustId", 2000L);
c.load(objectGrid, "CUSTOMER", "customerPU", null, null,
loadSql, params, false, null);
// Set ObjectGrid state back to ONLINE
stateMgr.setObjectGridState(AvailabilityState.ONLINE, objectGrid);