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

com.droidkit.actors.CurrentActor Maven / Gradle / Ivy

package com.droidkit.actors;

/**
 * 

INTERNAL API!

* Keeps current actor for thread. Will be used for better implementations of patterns. * * @author Stepan Ex3NDR Korshakov ([email protected]) */ public class CurrentActor { private static ThreadLocal currentActor = new ThreadLocal(); public static void setCurrentActor(Actor actor) { currentActor.set(actor); } public static Actor getCurrentActor() { return currentActor.get(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy