Codota Logo
NullActorAgent
Code IndexAdd Codota to your IDE (free)

How to use
NullActorAgent
in
co.vaughnvernon.actormodel.actor

Best Java code snippets using co.vaughnvernon.actormodel.actor.NullActorAgent (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: VaughnVernon/ActorModel

  /**
   * Constructs my default state.
   */
  private NullFuture() {
    super();

    this.nullActorAgent = NullActorAgent.instance();
  }
}
origin: VaughnVernon/ActorModel

/**
 * @see co.vaughnvernon.actormodel.actor.Actor#sender()
 */
@Override
public ActorAgent sender() {
  return NullActorAgent.instance();
}
origin: VaughnVernon/ActorModel

protected void sendTo(Message aMessage, boolean isForFuture) {
  ActorAgent agent = NullActorAgent.instance();
  this.sendTo(agent, aMessage, isForFuture);
}
origin: VaughnVernon/ActorModel

/**
 * @see co.vaughnvernon.actormodel.actor.ActorRegistry#actorRegisteredAs(java.lang.Class, co.vaughnvernon.actormodel.actor.Address)
 */
public ActorAgent actorRegisteredAs(Class<? extends Actor> anActorType, Address anAddress) {
  ActorAgent agent = null;
  Actor actor = this.readActor(anActorType, anAddress);
  if (actor == null) {
    agent = NullActorAgent.instance();
  } else {
    agent = this.actorAgentFor(anActorType, actor);
  }
  return agent;
}
origin: VaughnVernon/ActorModel

public void testCreateNullActorAgent() throws Exception {
  ActorAgent agent = NullActorAgent.instance();
  assertNotNull(agent);
}
co.vaughnvernon.actormodel.actorNullActorAgent

Javadoc

I am a NullObject implementation of an ActorAgent. I provide a special case, no-op implementation.

Most used methods

  • instance

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now