All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stratio.crossdata.server.config.ActorReceiveUtils Maven / Gradle / Ivy

There is a newer version: 0.5.1
Show newest version
package com.stratio.crossdata.server.config;
/**
 * Class with utility methods for testing actor communication.
 */
public  class ActorReceiveUtils extends akka.testkit.TestKit implements akka.testkit.ImplicitSender, akka.testkit.DefaultTimeout {
  public   ActorReceiveUtils () { throw new RuntimeException(); }
  /**
   * Receive 2 messages without expecting an ACK.
   * @return The result message.
   */
  public  com.stratio.crossdata.common.result.Result receiveWithoutACK () { throw new RuntimeException(); }
  /**
   * Try to receive 2 messages in the current Actor.
   * @param ackExpected Whether an ACK is expected.
   * @param inOrder Whether the ACK is expected to arrive before the Results.
   * @param errorExpected Whether an error is expected.
   * @return The result message.
   */
  public  com.stratio.crossdata.common.result.Result receiveActorMessages (boolean ackExpected, boolean inOrder, boolean errorExpected) { throw new RuntimeException(); }
  /**
   * Receive 1 non-ack message.
   * @return The result message.
   */
  public  com.stratio.crossdata.common.result.Result receiveError () { throw new RuntimeException(); }
  /**
   * Execute a query on a remote actor.
   * @param targetActor Target actor.
   * @param query The target query.
   * @param catalog The target catalog.
   * @return The result.
   */
  public  com.stratio.crossdata.common.result.Result executeQuery (akka.actor.ActorRef targetActor, java.lang.String query, java.lang.String catalog) { throw new RuntimeException(); }
  /**
   * Receive 2 messages expecting an ACK.
   * @return The result message.
   */
  public  com.stratio.crossdata.common.result.Result receiveWithACK () { throw new RuntimeException(); }
  /**
   * Get the error message if a {@link ErrorResult} is received.
   * @param crossDataResult The result.
   * @return The Error message.
   */
  public  java.lang.String getErrorMMessage (com.stratio.crossdata.common.result.Result crossDataResult) { throw new RuntimeException(); }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy