Examples of touch()


Examples of com.alibaba.otter.canal.parse.helper.TimeoutChecker.touch()

                    break;
                }

                controller.stop();
                timeoutChecker.stop();
                timeoutChecker.touch();
                return true;
            }

        });
View Full Code Here

Examples of com.esri.gpt.catalog.lucene.LuceneIndexAdapter.touch()

     
      // obtain the background thread lock,
      // sleep for 10 minutes if busy then try again
      rContext = RequestContext.extract(null);
      LuceneIndexAdapter adapter = new LuceneIndexAdapter(rContext);
      adapter.touch(); // ensures that a proper directory structure exists
      try {
        backgroundLock = adapter.obtainBackgroundLock();
      } catch (LockObtainFailedException lofe) {
        if (Thread.currentThread().isInterrupted()) return;
        try {
View Full Code Here

Examples of com.google.refine.importing.ImportingJob.touch()

            }

        } catch (JSONException e) {
            throw new ServletException(e);
        } finally {
            job.touch();
            job.updating = false;
        }
    }
   
    private void doCreateProject(HttpServletRequest request, HttpServletResponse response, Properties parameters)
View Full Code Here

Examples of com.googlecode.lucene.gae.datastore.file.DataStoreFile.touch()

  @Override
  public void touchFile(String name) throws IOException {

    DataStoreFile file = getFileByName(name, false);

    file.touch();

    repository.put(file);

  }
View Full Code Here

Examples of com.griddynamics.gridkit.coherence.patterns.benchmark.SimpleContext.touch()

  public void execute(ExecutionEnvironment<SimpleContext> executionEnvironment)
  {
    startExecution();
    // Invoke execution method.
    SimpleContext ctx = executionEnvironment.getContext();
    ctx.touch();
    executionEnvironment.setContext(ctx);
    // Save time information
    finishExecution();
  }
}
View Full Code Here

Examples of com.griddynamics.gridkit.coherence.patterns.benchmark.SimpleContext.touch()

  public CommandExecutionMark execute(ExecutionEnvironment<SimpleContext> executionEnvironment)
  {
    startExecution();
   
    SimpleContext context = executionEnvironment.getContext();
    context.touch();
    executionEnvironment.setContext(context);
   
    return finishExecution();
  }
View Full Code Here

Examples of com.griddynamics.gridkit.coherence.patterns.benchmark.SimpleContext.touch()

   */
  @Override
  public void execute(ExecutionEnvironment<SimpleContext> executionEnvironment) {   
    // Invoke execution method.
    SimpleContext ctx = executionEnvironment.getContext();
    ctx.touch();
    executionEnvironment.setContext(ctx);
    // Save time information
   
    //TODO restore !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    //BenchmarkSupport.reportExecution(reportBuffer, new ExecMark(execId, submitMs, submitNs));
View Full Code Here

Examples of com.planet_ink.coffee_web.interfaces.SimpleServletSession.touch()

        servletInstance.service(request.getMethod(), servletRequest, servletResponse);
        return servletResponse.generateOutput(request); // the generated output, yea!
      }
      finally
      {
        session.touch();
        stats.endProcessing(System.nanoTime() - startTime);
        lastHttpStatusCode=servletResponse.getStatusCode();
      }
    }
    catch (final HTTPException e)
View Full Code Here

Examples of com.surftools.BeanstalkClient.Client.touch()

    String srcString = "testTouch";
    int timeoutSeconds = 2;

    // nothing to touch
    boolean ok = false;
    ok = client.touch(0);
    assertFalse(ok);

    // producer
    client.useTube((String) tubeNames[1]);
    long jobId = client.put(65536, 0, timeoutSeconds, srcString.getBytes());
View Full Code Here

Examples of eu.planets_project.pp.plato.model.AlternativesDefinition.touch()

            // add it to the preservation planning project
            alternativesDefinition.addAlternative(alt);
            // refresh the datamodel list
            alternativeList = alternativesDefinition.getAlternatives();
            // the alternativesdefinition has been changed
            alternativesDefinition.touch();
        }
        // this alternative has been changed
        alt.touch();

        // exit editing mode
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.