Examples of timeOut()


Examples of com.caucho.amber.AmberTableCache.timeout()

    AmberTableCache tableCache = (AmberTableCache) type.getAnnotation(AmberTableCache.class);

    if (tableCache != null) {
      entityType.getTable().setReadOnly(tableCache.readOnly());

      long cacheTimeout = Period.toPeriod(tableCache.timeout());
      entityType.getTable().setCacheTimeout(cacheTimeout);
    }
  }

  private void introspectAttributeOverrides(EntityType entityType,
View Full Code Here

Examples of com.googlecode.jslint4java.JSLintBuilder.timeout()

    private JSLint applyJSlintSource() throws MojoExecutionException
    {
        JSLintBuilder builder = new JSLintBuilder();
        if (timeout > 0) {
            builder.timeout(timeout);
        }
        if (jslintSource != null) {
            try {
                return builder.fromFile(jslintSource, Charset.forName(encoding));
            } catch (IOException e) {
View Full Code Here

Examples of com.habitsoft.kiyaa.views.GeneratedHTMLView.ActionMethod.timeout()

                    final ActionMethod annotation = actionMethod.getAnnotation(ActionMethod.class);
                    int timeout=0;
                    if(annotation != null) {
                        saveBefore = annotation.saveBefore();
                        loadAfter = annotation.loadAfter();
                        timeout = annotation.timeout();
                    }
                    if (asyncMethod) {
                        return new ActionInfo(path, methodCall + "(" + joinWithCommas(0, args) + (args.length > 0 ? ", " : "")
                            + "callback);", false, true, targetView, saveBefore, loadAfter, timeout);
                    } else {
View Full Code Here

Examples of com.orientechnologies.orient.server.distributed.ODistributedResponseManager.timeout()

                "distributed.db.*.timeouts");

        Orient.instance().getProfiler()
            .updateCounter("distributed.node.timeouts", "Number of messages in timeouts", +1, "distributed.node.timeouts");

        resp.timeout();
        it.remove();
      }
    }
  }

View Full Code Here

Examples of com.ryantenney.metrics.annotation.CachedGauge.timeout()

    }

    final CachedGauge annotation = method.getAnnotation(CachedGauge.class);
    final String metricName = Util.forCachedGauge(targetClass, method, annotation);

    metrics.register(metricName, new com.codahale.metrics.CachedGauge<Object>(annotation.timeout(), annotation.timeoutUnit()) {
      @Override
      protected Object loadValue() {
        return ReflectionUtils.invokeMethod(method, bean);
      }
    });
View Full Code Here

Examples of com.sun.jdi.event.MonitorWaitEvent.timeout()

                    else if ( event instanceof MonitorWaitEvent )
                    {
                        MonitorWaitEvent waitEvent = (MonitorWaitEvent) event;
                        handler.onMonitorBeginWait( suspension, event.virtualMachine(), waitEvent.thread(),
                                                    (MonitorWaitRequest) event.request(), waitEvent.monitor(),
                                                    waitEvent.timeout(), waitEvent.location() );
                    }
                    else if ( event instanceof MonitorWaitedEvent )
                    {
                        MonitorWaitedEvent waitedEvent = (MonitorWaitedEvent) event;
                        handler.onMonitorEndWait( suspension, event.virtualMachine(), waitedEvent.thread(),
View Full Code Here

Examples of etch.compiler.opt.Timeout.timeout()

    if (o == null)
      return 0;

    Timeout t = (Timeout) o;
    return t.timeout();
  }

  /**
   * @return the type of this message.
   */
 
View Full Code Here

Examples of javax.ejb.AccessTimeout.timeout()

      = getAnnotation(AccessTimeout.class,
                      apiMethod, apiClass,
                      implementationMethod, implementationClass);

    if (accessTimeoutAttribute != null) {
      _lockTimeout = accessTimeoutAttribute.timeout();
      _lockTimeoutUnit = accessTimeoutAttribute.unit();
    }
  }

  /**
 
View Full Code Here

Examples of net.paoding.rose.web.portal.PortalSetting.timeout()

        portal = new PortalImpl(inv, executorService, windowListener);
        //
        long timeout = 0;
        PortalSetting portalSetting = inv.getMethod().getAnnotation(PortalSetting.class);
        if (portalSetting != null) {
            if (portalSetting.timeout() >= 0) {
                long annotationTimeout = portalSetting.timeUnit().toMillis(portalSetting.timeout());
                // < 0的情况,是PortalSetting的默认设置,即如果PortalSetting没有设置有效的timeout,则使用defaultTimeout策略
                // == 0的情况表示并且要求表示不需要设置超时时间,并且也不使用defaultTimeout策略
                if (annotationTimeout >= 0) {
                    timeout = annotationTimeout;
View Full Code Here

Examples of net.solosky.maplefetion.client.ResponseHandler.timeout()

          while(it.hasNext()) {
            SipcRequest request = it.next();
            ResponseHandler handler = request.getResponseHandler();
            if(handler!=null) {
              if(ex==null){
                handler.timeout(request);
              }else if(ex instanceof TransferException){
                handler.ioerror(request);
              }else if(ex instanceof SystemException){
                handler.syserror(request, ex.getCause());
              }else{
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.