Examples of initialize()

  • org.xtreemfs.babudb.sandbox.RandomGenerator.initialize()
    Generates the static meta-operations scenario. @param seed - has to be the same at every BabuDB. @return the operations scenario.
  • pdp.scrabble.game.Player.initialize()
  • persistence.antlr.collections.AST.initialize()
  • ptolemy.actor.Director.initialize()
    Initialize the model controlled by this director. Set the current time to the start time or the current time of the executive director, and then invoke the initialize() method of this director on each actor that is controlled by this director. If the container is not an instance of CompositeActor, do nothing. This method should typically be invoked once per execution, after the preinitialization phase, but before any iteration. It may be invoked in the middle of an execution, if reinitialization is desired. Since type resolution has been completed and the current time is set, the initialize() method of a contained actor may produce output or schedule events. If stop() is called during this methods execution, then stop initializing actors immediately. This method is not synchronized on the workspace, so the caller should be. @exception IllegalActionException If the initialize() method ofone of the associated actors throws it.
  • ptolemy.actor.Manager.initialize()
    Initialize the model. This calls the preinitialize() method of the container, followed by the resolveTypes() and initialize() methods. Set the Manager's state to PREINITIALIZING and INITIALIZING as appropriate. This method is read synchronized on the workspace. @exception KernelException If the model throws it. @exception IllegalActionException If the model is already running, orif there is no container.
  • ptolemy.copernicus.kernel.GeneratorAttribute.initialize()
    If this GeneratorAttribute has not yet been initialized, the initialized it by reading the moml file named by the initialParametersURL and creating Parameters and Variables accordingly.
  • ptolemy.distributed.common.DistributedActor.initialize()
    Begin execution of the actor. @exception RemoteException If a communication-related exception mayoccur during the execution of a remote method call.
  • ptolemy.graph.InequalityTerm.initialize()
    Initialize the value of this term to the specified CPO element. If this InequalityTerm is a simple variable that can be set to any CPO element, set the value of the variable to the specified argument. In this case, this method is equivalent to setValue() with the same argument. In some applications, this term is a structured object that only part of it is a simple variable. In this case, set that variable part to the specified argument. @param e An Object representing an element in the underlying CPO. @exception IllegalActionException If this term is not a variable.
  • q_impress.pmi.lib.services.loadsave.LoadingService.initialize()
  • q_impress.pmi.lib.services.loadsave.SavingService.initialize()
  • rs.frenjoynet.core.core.BaseFacade.initialize()
  • shapes.OtherClass.initialize()

  • share.LogWriter.initialize()
  • sicel.compiler.parser.Lexer.initialize()
  • sos.stresstest.dialogtest.SOSDialogTest.initialize()
  • structures.Network.initialize()
    Initializes individual columns within the entire Network.
  • sun.security.pkcs11.Secmod.initialize()
    Initialize this Secmod. @param configDir the directory containing the NSS configurationfiles such as secmod.db @param nssLibDir the directory containing the NSS libraries(libnss3.so or nss3.dll) or null if the library is on the system default shared library path @throws IOException if NSS has already been initialized,the specified directories are invalid, or initialization fails for any other reason
  • testrf.shared.TestRequestFactory.initialize()
  • uptimemart.Database.initialize()
    Creates the tables if the table does not already exist

    This method determines whether the SERVERS database has been created, if not create it.

  • us.b3k.kafka.ws.transforms.Transform.initialize()
  • vsv.VSVModel.initialize()
  • waffle.windows.auth.IWindowsCredentialsHandle.initialize()
  • waffle.windows.auth.impl.WindowsSecurityContextImpl.initialize()
  • weka.experiment.InstanceQuery.initialize()
  • wpn.hdri.ss.engine.EngineInitializer.initialize()
  • xbird.xquery.func.constructor.CastingFunction.initialize()

  • Examples of org.apache.giraph.graph.Vertex.initialize()

        int partitionId = 13;
        Partition<IntWritable, IntWritable, IntWritable, IntWritable> partition =
            conf.createPartition(partitionId, null);
        for (int i = 0; i < 10; ++i) {
          Vertex vertex = conf.createVertex();
          vertex.initialize(new IntWritable(i), new IntWritable(i));

        // Send the request
        SendVertexRequest<IntWritable, IntWritable, IntWritable,
    View Full Code Here

    Examples of org.apache.giraph.io.VertexReader.initialize()

        public VertexReader createVertexReader(final InputSplit split,
                                               final TaskAttemptContext context) throws IOException {
            VertexReader reader = new KryoVertexReader();
            try {
                reader.initialize(split, context);
            } catch (InterruptedException e) {
                throw new IOException(e);
            return reader;
    View Full Code Here

    Examples of org.apache.giraph.lib.AdjacencyListTextVertexOutputFormat.AdjacencyListVertexWriter.initialize()

        // Create empty iterator == no edges
        when(vertex.iterator()).thenReturn(new ArrayList<Text>().iterator());

        RecordWriter<Text, Text> tw = mock(RecordWriter.class);
        AdjacencyListVertexWriter writer = new AdjacencyListVertexWriter(tw);

        Text expected = new Text("The Beautiful South\t32.2");
        verify(tw).write(expected, null);
        verify(vertex, times(1)).iterator();
    View Full Code Here

    Examples of org.apache.giraph.lib.IdWithValueTextOutputFormat.IdWithValueVertexWriter.initialize()

        // Create empty iterator == no edges
        when(vertex.iterator()).thenReturn(new ArrayList<Text>().iterator());

        RecordWriter<Text, Text> tw = mock(RecordWriter.class);
        IdWithValueVertexWriter writer = new IdWithValueVertexWriter(tw);

        verify(tw).write(expected, null);
        verify(vertex, times(0)).iterator();
        verify(vertex, times(0)).getEdgeValue(Matchers.<WritableComparable>any());
    View Full Code Here

    Examples of org.apache.hadoop.fs.FileSystem.initialize()

        FileSystem fs = null;
        Class<?> clazz = conf.getClass("fs." + uri.getScheme() + ".impl", null);
        if (clazz != null) {
          // This will be true for Hadoop 1.0, or 0.20.
          fs = (FileSystem)ReflectionUtils.newInstance(clazz, conf);
          fs.initialize(uri, conf);
        } else {
          // For Hadoop 2.0, we have to go through FileSystem for the filesystem
          // implementation to be loaded by the service loader in case it has not
          // been loaded yet.
          Configuration clone = new Configuration(conf);
    View Full Code Here

    Examples of org.apache.hadoop.fs.HarFileSystem.initialize()

        Path HarPath = new Path(outDir,harDirName);
        if (fsDest.exists(HarPath)) {
          URI HarPathUri = HarPath.toUri();
          Path inHarPath = new Path("har://",HarPathUri.getPath()+"/"+outPath.toUri().getPath());
          FileSystem fsHar = new HarFileSystem(fsDest);
          fsHar.initialize(inHarPath.toUri(), conf);
          FileStatus inHar = FileStatusCache.get(fsHar, inHarPath);
          if (inHar != null) {
            if (verifyParity(srcStatus, inHar, codec, conf)) {
              return new ParityFilePair(inHarPath, inHar, fsHar);
    View Full Code Here

    Examples of org.apache.hadoop.fs.s3.S3Credentials.initialize()


      public void initialize(URI uri, Configuration conf) throws IOException {
        S3Credentials s3Credentials = new S3Credentials();
        s3Credentials.initialize(uri, conf);
        try {
          AWSCredentials awsCredentials =
            new AWSCredentials(s3Credentials.getAccessKey(),
          this.s3Service = new RestS3Service(awsCredentials);
    View Full Code Here

    Examples of org.apache.hadoop.gateway.filter.rewrite.api.UrlRewriteProcessor.initialize()

        rule.pattern( "{*}://{host}:{*}/{**}?{**}" );
        UrlRewriteActionRewriteDescriptorExt rewrite = rule.addStep( "rewrite" );
        rewrite.template( "{*}://{$hostmap(host)}:{*}/{**}?{**}" );

        UrlRewriteProcessor rewriter = new UrlRewriteProcessor();
        rewriter.initialize( environment, descriptor );

        Template input = Parser.parse( "test-scheme://test-inbound-host:42/test-path/test-file?test-name=test-value" );
        Template output = rewriter.rewrite( resolver, input, UrlRewriter.Direction.IN, null );
        //System.out.println( output );
        assertThat( output, notNullValue() );
    View Full Code Here

    Examples of org.apache.hadoop.gateway.filter.rewrite.impl.UrlRewriteRuleProcessorHolder.initialize()

      private void initializeRules( UrlRewriteRulesDescriptor descriptor ) {
        for( UrlRewriteRuleDescriptor ruleDescriptor : descriptor.getRules() ) {
          try {
            UrlRewriteRuleProcessorHolder ruleProcessor = new UrlRewriteRuleProcessorHolder();
            ruleProcessor.initialize( environment, ruleDescriptor );
            if( !rules.containsKey( ruleDescriptor.name() ) ) {
              rules.put( ruleDescriptor.name(), ruleProcessor );
            Template template = ruleDescriptor.template();
            if( template != null ) {
    View Full Code Here

    Examples of org.apache.hadoop.gateway.filter.rewrite.impl.UrlRewriteStepProcessorHolder.initialize()

      private void initializeRules( UrlRewriteRulesDescriptor descriptor ) {
        for( UrlRewriteRuleDescriptor ruleDescriptor : descriptor.getRules() ) {
          try {
            UrlRewriteStepProcessorHolder ruleProcessor = new UrlRewriteStepProcessorHolder();
            ruleProcessor.initialize( environment, ruleDescriptor );
            Template template = ruleDescriptor.template();
            rules.add( ruleProcessor );
            EnumSet<Direction> directions = ruleDescriptor.directions();
            if( directions == null || directions.isEmpty() ) {
              inbound.add( template, ruleProcessor );
    View Full Code Here
    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.