Examples of interval()


Examples of com.director.core.annotation.PollingProviderConfig.interval()

   public void registerMethod(String actionName, String methodName, Class actionClass, Method method) {
      this.directAction = new DirectAction(this.getNamespace(), actionName, actionClass);
      this.directMethod = this.directAction.addMethod(methodName, method);
      if(method.isAnnotationPresent(PollingProviderConfig.class)) {
         PollingProviderConfig config = method.getAnnotation(PollingProviderConfig.class);
         this.interval = config.interval();
      }
   }

   @Override
   public void doProcess(InputOutputAdapter inputOutputAdapter) throws Throwable {
View Full Code Here

Examples of com.eclipsesource.restfuse.annotation.Poll.interval()

  {
    this.statement = statement;
    this.base = base;
    this.target = target;
    Poll pollAnnotation = method.getAnnotation( Poll.class );
    interval = pollAnnotation.interval();
    times = pollAnnotation.times();
    pollState = new PollStateImpl();
  }

  @Override
View Full Code Here

Examples of com.eclipsesource.restfuse.annotation.Poll.interval()

  {
    this.statement = statement;
    this.base = base;
    this.target = target;
    Poll pollAnnotation = description.getAnnotation( Poll.class );
    interval = pollAnnotation.interval();
    times = pollAnnotation.times();
    pollState = new PollStateImpl();
  }

  @Override
View Full Code Here

Examples of com.tinkerpop.blueprints.GraphQuery.interval()

    stub(mockGraphQuery.hasNot("", "bar")).toReturn(mockGraphQuery);
    query.hasNot("", "bar");
    verify(mockGraphQuery).hasNot(eq(""), eq("bar"));
   
   
    stub(mockGraphQuery.interval("", "bar", "bif")).toReturn(mockGraphQuery);
    query.interval("", "bar", "bif");
    verify(mockGraphQuery).interval(eq(""), eq("bar"), eq("bif"));
   
    stub(mockGraphQuery.limit(1)).toReturn(mockGraphQuery);
    query.limit(1);
View Full Code Here

Examples of com.tinkerpop.blueprints.GraphQuery.interval()

                        query = query.has(hasContainer.key, hasContainer.predicate, hasContainer.value);
                    }
                }
                if (null != this.intervalContainers) {
                    for (final IntervalContainer intervalContainer : this.intervalContainers) {
                        query = query.interval(intervalContainer.key, intervalContainer.startValue, intervalContainer.endValue);
                    }
                }
                if (this.highRange != Integer.MAX_VALUE) {
                    query = query.limit(this.highRange - this.count);
                }
View Full Code Here

Examples of com.tinkerpop.blueprints.VertexQuery.interval()

                        query = query.has(hasContainer.key, hasContainer.predicate, hasContainer.value);
                    }
                }
                if (null != this.intervalContainers) {
                    for (final IntervalContainer intervalContainer : this.intervalContainers) {
                        query = query.interval(intervalContainer.key, intervalContainer.startValue, intervalContainer.endValue);
                    }
                }
                if (this.branchFactor == Integer.MAX_VALUE) {
                    if (this.highRange != Integer.MAX_VALUE) {
                        int temp = this.highRange - this.count;
View Full Code Here

Examples of etch.util.core.nio.ByteBufferPool.interval()

  {
    ByteBufferPool p = new ByteBufferPool( 1, 2, 3, 4, 5 );
    assertEquals( 1, p.bufferSize() );
    assertEquals( 2, p.min() );
    assertEquals( 3, p.limit() );
    assertEquals( 4, p.interval() );
    assertEquals( 5, p.length() );
    p.shutdown();
  }

  /** @throws Exception */
 
View Full Code Here

Examples of etch.util.core.nio.ByteBufferPool.interval()

  {
    ByteBufferPool p = new ByteBufferPool( 101, 103, 105, 107, 109 );
    assertEquals( 101, p.bufferSize() );
    assertEquals( 103, p.min() );
    assertEquals( 105, p.limit() );
    assertEquals( 107, p.interval() );
    assertEquals( 109, p.length() );
    p.shutdown();
  }

  /** @throws Exception */
 
View Full Code Here

Examples of etch.util.core.nio.ByteBufferPool.interval()

  {
    ByteBufferPool p = new ByteBufferPool( 101, 103, 105, 0, 109 );
    assertEquals( 101, p.bufferSize() );
    assertEquals( 103, p.min() );
    assertEquals( 105, p.limit() );
    assertEquals( 0, p.interval() );
    assertEquals( 0, p.length() );
    p.shutdown();
  }

  /** @throws Exception */
 
View Full Code Here

Examples of etch.util.core.nio.ByteBufferPool.interval()

  {
    ByteBufferPool p = new ByteBufferPool( 101, 103, 105, 107, 0 );
    assertEquals( 101, p.bufferSize() );
    assertEquals( 103, p.min() );
    assertEquals( 105, p.limit() );
    assertEquals( 0, p.interval() );
    assertEquals( 0, p.length() );
    p.shutdown();
  }

  /** @throws Exception */
 
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.