Examples of Cluster


Examples of org.jvnet.glassfish.comms.clb.admin.Cluster

            // or fill in with default values
        }

        if ((cRdrs != null) && (cRdrs.length > 0)) {
            for (int i = 0; i < cRdrs.length; i++) {
                Cluster cls = new Cluster();
                cRdrs[i].accept(new ClusterVisitor(cls));
                _lb.addCluster(cls);
            }
        }
    }
View Full Code Here

Examples of org.mizartools.dli.Cluster

    if (cCluster.getCluster1() != null) cluster1List.add(cCluster.getCluster1());
    Antecedent antecedent = new Antecedent(Adapter.getAdjectiveList(abstractSignature, cluster1List));
    LinkedList<org.mizartools.system.xml.Cluster> clusterList2 = new LinkedList<org.mizartools.system.xml.Cluster>();
    if (cCluster.getCluster2() != null) clusterList2.add(cCluster.getCluster2());
    if (cCluster.getCluster3() != null) clusterList2.add(cCluster.getCluster3());
    Cluster cluster = new Cluster(Adapter.getAdjectiveList(abstractSignature, clusterList2));
    itemDefinition = new ConditionalRegistration(loci, antecedent, type, cluster);
    ItemId itemId = new ItemId(articleId, ItemType.condreg, cCluster.getNr());
    DecodedLibraryItem decodedLibraryItem = new DecodedLibraryItem(itemId, itemDefinition);
    return decodedLibraryItem;
  }
View Full Code Here

Examples of org.mt4j.components.clusters.Cluster

      lastTimeHitTest = now;
     
  //    /*//TODO anders machen..z.b. geclusterte comps einfach als kinder von
      //�bergeordnetem clusterpoly machen? aber mit clusterPoly.setComposite(TRUE);
      //Clusterpoly pickable machen damit das hier nicht gebraucht wird?
      Cluster sel = this.getClusterManager().getCluster(closest3DComp);
        if (sel != null){
          closest3DComp = sel;
        }
  //     */
       
View Full Code Here

Examples of org.radargun.config.Cluster

      t1.addValue("Category C", new Timeline.Value(now + 1200, 513));
      t1.addValue("Category C", new Timeline.Value(now + 2100, 912));
      t1.addValue("Category C", new Timeline.Value(now + 3800, 485));

      Cluster cluster = new Cluster();
      cluster.addGroup("default", 2);
      TimelineDocument doc = new TimelineDocument(new TimelineDocument.Configuration(), "test", "testconfig", "Test Config", Arrays.asList(t0, t1), cluster);
      try {
         doc.open();
         doc.writeTimelines();
         doc.close();
View Full Code Here

Examples of org.scale7.cassandra.pelops.Cluster

        {
            CassandraHost cassandraHost = (CassandraHost) host;
            String poolName = PelopsUtils.generatePoolName(cassandraHost.getHost(), cassandraHost.getPort(), keyspace);
            if (CassandraUtilities.verifyConnection(cassandraHost.getHost(), cassandraHost.getPort()))
            {
                Cluster cluster = new Cluster(cassandraHost.getHost(), new IConnection.Config(cassandraHost.getPort(),
                        true, -1, PelopsUtils.getAuthenticationRequest(cassandraHost.getUser(),
                                cassandraHost.getPassword())), false);

                if (logger.isInfoEnabled())
                {
View Full Code Here

Examples of org.voltdb.catalog.Cluster

        for (int i = 0; i < parameters.length; i++) {
            parameters[i] = args.getOptParam(i+1);
        } // FOR
       
        Client client = ClientFactory.createClient(128, null, false, null);
        Cluster catalog_clus = args.catalog_db.getParent();
        Site catalog_site = CollectionUtil.first(catalog_clus.getSites());
        assert(catalog_site != null);
        Host catalog_host = catalog_site.getHost();
        assert(catalog_host != null);
        Integer port = CollectionUtil.random(CatalogUtil.getExecutionSitePorts(catalog_site));
        assert(port != null);
View Full Code Here

Examples of org.wicketstuff.openlayers3.api.source.Cluster

                                // add our vector layer for the clusters
                                cluster = new Vector(

                                        // our cluster data source
                                        new Cluster(40,

                                                // vector data source for calculating clusters
                                                new ServerVector(new GeoJsonFormat(),
                                                        new DefaultGeoJsonLoader(
                                                                "http://mhc-macris.net:8080/geoserver/MHC/ows?"
View Full Code Here

Examples of railo.runtime.type.scope.Cluster

  private void _doSetCluster() throws PageException {
   
    Struct entries = Caster.toStruct(getObject("admin",action,"entries"));
    Struct entry;
    Iterator<Object> it = entries.valueIterator();
    Cluster cluster = pageContext.clusterScope();
    while(it.hasNext()) {
      entry=Caster.toStruct(it.next());
      cluster.setEntry(
        new ClusterEntryImpl(
            KeyImpl.getInstance(Caster.toString(entry.get(KeyConstants._key))),
            Caster.toSerializable(entry.get(KeyConstants._value,null),null),
            Caster.toLongValue(entry.get(KeyConstants._time))
        )
      );
    }

    cluster.broadcast();
  }
View Full Code Here

Examples of views.Cluster

  }
 
  @Override
  public void run() {
    for(int i = 0; i< clusters.length ; ++i){
      clusters[i] = new Cluster(randomPick());
    }
    for(Star s : stars){
      double min = d.get(s, clusters[0].getCentroid());
      int index = 0;
      for(int i = 1; i< clusters.length ; ++i){
View Full Code Here

Examples of voldemort.cluster.Cluster

        assertTrue(Utils.isReadableFile(storesFile));

        ClusterMapper clusterMapper = new ClusterMapper();
        StoreDefinitionsMapper storeDefsMapper = new StoreDefinitionsMapper();

        Cluster newCluster = clusterMapper.readCluster(new File(clusterFile));
        List<StoreDefinition> newStores = storeDefsMapper.readStoreList(new File(storesFile));

        // compare metadata objects
        assertTrue(newCluster.equals(cluster));
        assertTrue(newStores.size() == stores.size());
        for(StoreDefinition store: stores) {
            assertTrue(newStores.contains(store));
        }
    }
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.