Examples of DuccIdFactory


Examples of org.apache.uima.ducc.common.utils.id.DuccIdFactory

        dramOverride = SystemPropertyResolver.getLongProperty("ducc.rm.override.dram", 0);
        if ( dramOverride > 0 ) {
            dramOverride = dramOverride * (1024 * 1024);         // convert to KB
        }

        idFactory = new DuccIdFactory(1);

//        try {
//            schedImplName = SystemPropertyResolver.getStringProperty("ducc.rm.scheduler", "org.apache.uima.ducc.rm.ClassBasedScheduler");
//            @SuppressWarnings("unchecked")
//      Class<IScheduler> cl = (Class<IScheduler>) Class.forName(schedImplName);
View Full Code Here

Examples of org.apache.uima.ducc.common.utils.id.DuccIdFactory

      ComponentHelper.oneInstance(IDuccEnv.DUCC_STATE_DIR,"orchestrator");
    }
    // </Jira 3414>
    setPropertiesFileManager(new PropertiesFileManager(IDuccLoggerComponents.abbrv_orchestrator, IDuccEnv.DUCC_STATE_DIR, constOrchestratorProperties, false, true));
    initSeqNo();
    setDuccIdFactory(new DuccIdFactory(propertiesFileManager,constSeqNo));
    workMap = new DuccWorkMap();
    driverStatusReportMap = new ConcurrentHashMap<DuccId,DriverStatusReport>();
    processAccounting = new ProcessAccounting();
    OrchestratorCheckpoint.getInstance().switchOnOff(commonConfiguration.orchestratorCheckpoint);
    OrchestratorCheckpoint.getInstance().restoreState();
View Full Code Here

Examples of org.apache.uima.ducc.common.utils.id.DuccIdFactory

            } finally {
                fos.close();
            }
        }

        idFactory = new DuccIdFactory(seq);

        synchronized(this) {
            initialized = true;
        }
    }
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.