Examples of loadAll()


Examples of com.hazelcast.map.impl.proxy.MapProxyImpl.loadAll()

        final MapService mapService = getService();
        final DistributedObject distributedObject
                = mapService.getMapServiceContext().getNodeEngine().getProxyService()
                .getDistributedObject(MapService.SERVICE_NAME, name);
        final MapProxyImpl mapProxy = (MapProxyImpl) distributedObject;
        mapProxy.loadAll(replaceExistingValues);
        final ClientEndpoint endpoint = getEndpoint();
        endpoint.sendResponse(Boolean.TRUE, getCallId());
    }

    @Override
View Full Code Here

Examples of com.hazelcast.map.proxy.MapProxyImpl.loadAll()

        final MapService mapService = getService();
        final DistributedObject distributedObject
                = mapService.getMapServiceContext().getNodeEngine().getProxyService()
                .getDistributedObject(MapService.SERVICE_NAME, name);
        final MapProxyImpl mapProxy = (MapProxyImpl) distributedObject;
        mapProxy.loadAll(replaceExistingValues);
        final ClientEndpoint endpoint = getEndpoint();
        endpoint.sendResponse(Boolean.TRUE, getCallId());
    }

    @Override
View Full Code Here

Examples of javax.cache.CacheLoader.loadAll()

    CacheLoader loader = _config.getCacheLoader();

    if (loader == null || keys == null || keys.size() == 0)
      return;

    entries = loader.loadAll(keys);

    if (entries.isEmpty())
      return;

    for (Entry loaderEntry : entries.entrySet()) {
View Full Code Here

Examples of org.apache.openmeetings.installation.ImportInitvalues.loadAll()

          } else {
            AdminUserDetails admin = checkAdminDetails(ctxName);
            dropDB(connectionProperties);
           
            ImportInitvalues importInit = getApplicationContext(ctxName).getBean(ImportInitvalues.class);
            importInit.loadAll(cfg, admin.login, admin.pass, admin.email, admin.group, admin.tz, force);
          }         
         
          InstallationDocumentHandler.createDocument(3);
        } catch(Exception e) {
          handleError("Install failed", e);
View Full Code Here

Examples of org.apache.openmeetings.installation.ImportInitvalues.loadAll()

          } else {
            checkAdminDetails(ctxName);
            dropDB(connectionProperties);
           
            ImportInitvalues importInit = getApplicationContext(ctxName).getBean(ImportInitvalues.class);
            importInit.loadAll(cfg, force);
          }         
         
          InstallationDocumentHandler.createDocument(3);
        } catch(Exception e) {
          handleError("Install failed", e);
View Full Code Here

Examples of org.criticalfailure.torchlight.core.campaign.storage.ICampaignModelObjectPersister.loadAll()

        logger.trace("cmop: " + cmop);

        if(cmop != null) {
            try {
                logger.info("Loading all campaign data: " + campaign);
                cmop.loadAll();
            }
            catch(Exception e) {
                logger.error("Exception while trying to load campaign data: " + e.getLocalizedMessage(), e);

                alertService.addAlert(new Alert(Alert.Type.ERROR, this.getClass().getSimpleName(), Messages
View Full Code Here

Examples of org.hivedb.meta.persistence.NodeDao.loadAll()

  @Test
  public void testCreate() throws Exception {
    int count = getHive().getNodes().size();
    NodeDao dao = new NodeDao(getDataSource(getConnectString(getHiveDatabaseName())));
    assertEquals(count, dao.loadAll().size());

    Node full = createFullyPopulatedNode();
    Node minimal = createMinimalNode();

    dao.create(full);
View Full Code Here

Examples of org.hivedb.meta.persistence.PartitionDimensionDao.loadAll()

public class TestPartitionDimensionPersistence extends HiveTest {

  @Test
  public void testCreate() throws Exception {
    PartitionDimensionDao dao = new PartitionDimensionDao(getDataSource(getConnectString(getHiveDatabaseName())));
    int initialSize = dao.loadAll().size();
    final PartitionDimension d = new PartitionDimension(Hive.NEW_OBJECT_ID, getHive().getPartitionDimension().getName(), Types.INTEGER, getConnectString(getHiveDatabaseName()), new ArrayList<Resource>());
    dao.create(d);
    assertTrue(d.getId() > 0);
    assertEquals(initialSize + 1, dao.loadAll().size());
  }
View Full Code Here

Examples of org.hivedb.meta.persistence.ResourceDao.loadAll()

public class TestResourcePersistence extends HiveTest {
 
  @Test
  public void testCreate() throws Exception {
    ResourceDao d = new ResourceDao(getDataSource(getConnectString(getHiveDatabaseName())));
    int intitialSize = d.loadAll().size();
    d.create(createResource());
    assertEquals(intitialSize+1,d.loadAll().size());
  }
}
View Full Code Here

Examples of org.hivedb.meta.persistence.SecondaryIndexDao.loadAll()

public class TestSecondaryIndexPersistence extends HiveTest {
 
  @Test
  public void testCreate() throws Exception {
    SecondaryIndexDao d = new SecondaryIndexDao(getDataSource(getConnectString(getHiveDatabaseName())));
    int initialSize = d.loadAll().size();
    d.create(createSecondaryIndex());
    assertEquals(initialSize+1,d.loadAll().size());
  }
 
  @Test
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.