}
long time2 = System.currentTimeMillis();
logger.info("Time for components to freeze: " + (time2 - time1));
// send request to store the state of the components
MasterStorageService mss = (MasterStorageService)
URLToReference.createReference(masterStorageServiceURL,
MasterStorageService.class.getName());
for (int i = 0; i < componentList.length; i++) {
String individualStorageServiceURL = mss.getIndividualStorageServiceLocation();
ComponentInfo cInfo = (ComponentInfo) componentList[i];
MobileComponentID cid =
new MobileComponentIDClientImpl(cInfo.getInstanceName(),
cInfo.getInstanceHandle());
cid.appendStateToCheckpoint(individualStorageServiceURL, getGSH());