Examples of create()


Examples of com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.create()

        if(!dbFreeze.get()){
          dbFreeze.set(true);
        }
        db.drop();
        db.close();
        db.create();
        db.getLevel1Cache().clear();
        db.getLevel2Cache().clear();
        db.reload();
        db.getMetadata().reload();
        if(repopulate){

Examples of com.orientechnologies.orient.core.index.OIndexManager.create()

            if (iLoad)
              try {
                instance.load();
              } catch (Exception e) {
                OLogManager.instance().error(this, "[OMetadata] Error on loading index manager, reset index configuration", e);
                instance.create();
              }

            return instance;
          }
        }), database);

Examples of com.orientechnologies.orient.core.metadata.schema.OSchemaShared.create()

            if (iLoad)
              try {
                instance.load();
              } catch (Exception e) {
                OLogManager.instance().error(this, "[OMetadata] Error on loading index manager, reset index configuration", e);
                instance.create();
              }

            return instance;
          }
        }), database);

Examples of com.orientechnologies.orient.core.storage.OCluster.create()

    final int createdClusterId = registerCluster(cluster);

    if (cluster != null) {
      if (!cluster.exists()) {
        cluster.create(-1);
        if (makeFullCheckPointAfterClusterCreate && fullCheckPoint)
          makeFullCheckpoint();
      } else {
        cluster.open();
      }

Examples of com.orientechnologies.orient.core.storage.fs.OFile.create()

    final int num = files.length - 1;

    final OFile file = OFileFactory.create(type, storage.getStoragePath() + "/" + name + "." + num + fileExtension,
        storage.getMode());
    file.setMaxSize((int) OFileUtils.getSizeAsNumber(config.root.fileTemplate.fileMaxSize));
    file.create(fileStartSize);
    files[num] = file;

    addInfoFileConfigEntry(file);

    return file;

Examples of com.orientechnologies.orient.object.db.OObjectDatabaseTx.create()

    @Test
    public void reproduce() throws Exception {
  final OObjectDatabaseTx db = new OObjectDatabaseTx(
    "memory:CustomDatatypeTest");
  db.create();

  // WrappedString custom datatype registration (storing it as
  // OType.STRING)
  OObjectSerializerContext serializerContext = new OObjectSerializerContext();
  serializerContext.bind(new OObjectSerializer<WrappedString, String>() {

Examples of com.pccw.hessian.support.client.HessianCAHProxyFactory.create()

        proxyFactory.setLocalEnabled(true);
        proxyFactory.setHessian2Reply(false);
       // proxyFactory.setDebug(true);
        HessianCAHProxyFactory.setCookieSeterName("Set-Cookie");
        try {
           PublicService api=proxyFactory.create(PublicService.class, url,
               new DefaultCacheHandler(),
               new CRMAsynTaskExecuter<Object, Throwable>(),
               new CRMExceptionHandler(),null);
          // parseAnnotations(api.getClass());
          //Thread.sleep(1000);

Examples of com.ponysdk.ui.terminal.ui.PTCookies.create()

        loadingMessageBox.setStyleName("pony-LoadingMessageBox");
        loadingMessageBox.getElement().getStyle().setVisibility(Visibility.HIDDEN);
        loadingMessageBox.getElement().setInnerText("Loading ...");

        final PTCookies cookies = new PTCookies();
        cookies.create(null, null);
        objectByID.put(0l, cookies);

        // hide loading component
        final Widget w = RootPanel.get("loading");
        if (w == null) {

Examples of com.ponysdk.ui.terminal.ui.PTObject.create()

                final AddonFactory addonFactory = addonByKey.get(addOnSignature);
                if (addonFactory == null) { throw new Exception("UIBuilder: AddOn factory not found for signature: " + addOnSignature + ", available: " + addonByKey.keySet()); }

                ptObject = addonFactory.newAddon();
                if (ptObject == null) { throw new Exception("UIBuilder: Failed to instanciate an Addon of type: " + addOnSignature); }
                ptObject.create(instruction, this);
            } else {
                ptObject = uiFactory.newUIObject(this, instruction);
                ptObject.create(instruction, this);
            }

Examples of com.puppetlabs.geppetto.forge.v2.service.ModuleService.create()

    ModuleTemplate template = new ModuleTemplate();
    template.setOwner(TEST_USER);
    template.setName(TEST_MODULE);
    template.setDescription("A Dummy Test Module");
    Module newModule = service.create(template);
    assertNotNull("Null Module", newModule);
  }
}
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.