| Modifier and Type | Class and Description |
|---|---|
class |
Actor<SELF extends Actor>
Baseclass for actor implementations.
|
interface |
ActorProxy<T extends Actor>
tagging interface.
|
| Modifier and Type | Field and Description |
|---|---|
Actor |
Actor.__self |
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<Actor> |
Actor.sender |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Actor> |
Actors.AsActor(Class<? extends Actor> actorClazz)
create an new actor.
|
static <T extends Actor> |
Actors.AsActor(Class<? extends Actor> actorClazz,
int qSize)
create an new actor.
|
static <T extends Actor> |
Actors.AsActor(Class<? extends Actor> actorClazz,
Scheduler scheduler)
create an new actor dispatched in the given DispatcherThread
|
static <T extends Actor> |
Actors.AsActor(Class<? extends Actor> actorClazz,
Scheduler scheduler,
int qsize)
create an new actor dispatched in the given DispatcherThread
|
| Modifier and Type | Method and Description |
|---|---|
Actor |
ActorProxy.getActor() |
Actor |
Actor.getActorRef() |
Actor |
Message.getSendingActor() |
protected Actor |
Actors.makeProxy(Class<? extends Actor> clz,
DispatcherThread disp,
int qs) |
protected Actor |
Actors.newProxy(Class<? extends Actor> clz,
Scheduler sched,
int qsize) |
| Modifier and Type | Method and Description |
|---|---|
void |
Actor.__addDeadLetter(Actor receiver,
String methodName) |
Object |
Actor.__enqueueCall(Actor receiver,
String methodName,
Object[] args,
boolean isCB) |
Method |
Actor.__getCachedMethod(String methodName,
Actor actor) |
Object |
Scheduler.enqueueCall(Actor sendingActor,
Actor receiver,
String methodName,
Object[] args,
boolean isCB) |
Object |
Scheduler.enqueueCall(Actor sendingActor,
Actor receiver,
String methodName,
Object[] args,
boolean isCB) |
InvocationHandler |
Scheduler.getInvoker(Actor dispatcher,
Object toWrap) |
protected <T> T |
Actor.inThread(Actor proxy,
T cbInterface) |
<T> T |
Scheduler.inThread(Actor actor,
T callback)
Creates a wrapper on the given object enqueuing all calls to INTERFACE methods of the given object to the given actors's queue.
|
<T> void |
Scheduler.runBlockingCall(Actor emitter,
Callable<T> toCall,
Callback<T> resultHandler) |
void |
Scheduler.tryIsolate(DispatcherThread dp,
Actor actorRef) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Actor> |
Actors.AsActor(Class<? extends Actor> actorClazz)
create an new actor.
|
static <T extends Actor> |
Actors.AsActor(Class<? extends Actor> actorClazz,
int qSize)
create an new actor.
|
static <T extends Actor> |
Actors.AsActor(Class<? extends Actor> actorClazz,
Scheduler scheduler)
create an new actor dispatched in the given DispatcherThread
|
static <T extends Actor> |
Actors.AsActor(Class<? extends Actor> actorClazz,
Scheduler scheduler,
int qsize)
create an new actor dispatched in the given DispatcherThread
|
protected Actor |
Actors.makeProxy(Class<? extends Actor> clz,
DispatcherThread disp,
int qs) |
protected Actor |
Actors.newProxy(Class<? extends Actor> clz,
Scheduler sched,
int qsize) |
| Modifier and Type | Method and Description |
|---|---|
Actor[] |
DispatcherThread.getActors() |
Actor |
CallEntry.getSendingActor() |
Actor |
CallEntry.getTargetActor() |
| Modifier and Type | Method and Description |
|---|---|
void |
DispatcherThread.addActor(Actor act) |
Object |
ElasticScheduler.enqueueCall(Actor sendingActor,
Actor receiver,
String methodName,
Object[] args,
boolean isCB) |
Object |
ElasticScheduler.enqueueCall(Actor sendingActor,
Actor receiver,
String methodName,
Object[] args,
boolean isCB) |
InvocationHandler |
ElasticScheduler.getInvoker(Actor dispatcher,
Object toWrap) |
<T> T |
ActorProxyFactory.instantiateProxy(Actor target) |
<T> T |
ElasticScheduler.inThread(Actor actor,
T callback)
Creates a wrapper on the given object enqueuing all calls to INTERFACE methods of the given object to the given actors's queue.
|
boolean |
DispatcherThread.pollQs(Actor[] actors) |
protected CallEntry |
DispatcherThread.pollQueues(Actor[] actors) |
<T> void |
ElasticScheduler.runBlockingCall(Actor emitter,
Callable<T> toCall,
Callback<T> resultHandler) |
void |
ElasticScheduler.tryIsolate(DispatcherThread dispatcherThread,
Actor refToExclude) |
| Constructor and Description |
|---|
CallbackWrapper(Actor targetQ,
Callback<T> realFuture) |
CallEntry(T target,
Method method,
Object[] args,
Actor sender,
Actor targetActor,
boolean isCB) |
CallEntry(T target,
Method method,
Object[] args,
Actor sender,
Actor targetActor,
boolean isCB) |
| Modifier and Type | Method and Description |
|---|---|
abstract Actor |
RemoteRefRegistry.getFacadeProxy() |
Actor |
RemoteRefRegistry.getPublishedActor(int id) |
Actor |
RemoteRefRegistry.registerRemoteActorRef(Class actorClazz,
int remoteId,
Object client) |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentLinkedQueue<Actor> |
RemoteRefRegistry.getRemoteActors() |
java.util.function.BiFunction<Actor,String,Boolean> |
RemoteRefRegistry.getRemoteCallInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
int |
RemoteRefRegistry.publishActor(Actor act) |
void |
RemoteRefRegistry.registerRemoteRefDirect(Actor act) |
protected void |
RemoteRefRegistry.remoteRefStopped(Actor actor)
warning: MThreaded
|
void |
RemoteRefRegistry.unpublishActor(Actor act) |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteRefRegistry.setRemoteCallInterceptor(java.util.function.BiFunction<Actor,String,Boolean> remoteCallInterceptor) |
| Modifier and Type | Class and Description |
|---|---|
class |
NioHttpServerImpl
Created by ruedi on 13.08.2014.
|
| Modifier and Type | Method and Description |
|---|---|
Actor |
NioHttpServer.getServingActor() |
Actor |
NioHttpServerImpl.getServingActor() |
| Modifier and Type | Class and Description |
|---|---|
class |
RestActorClient<T extends Actor>
Created by ruedi on 14.08.2014.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Actor> |
RestActorServer.publish(Class<T> clz,
String path,
int port)
shorthand to create and run a http service publishing given actor class.
|
static <T extends Actor> |
RestActorServer.publish(String path,
int port,
T serviceRef) |
| Modifier and Type | Method and Description |
|---|---|
Actor |
RestActorServer.PublishedActor.getActor() |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.BiFunction<Actor,String,Boolean> |
RestActorServer.getRemoteCallInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
RestActorServer.PublishedActor |
RestActorServer.publish(String name,
Actor obj) |
| Modifier and Type | Method and Description |
|---|---|
void |
RestActorServer.setRemoteCallInterceptor(java.util.function.BiFunction<Actor,String,Boolean> remoteCallInterceptor) |
| Constructor and Description |
|---|
PublishedActor(Actor actor,
Map<String,Class> mappings) |
| Modifier and Type | Class and Description |
|---|---|
class |
TCPActorClient<T extends Actor>
Created by ruedi on 08.08.14.
|
| Modifier and Type | Method and Description |
|---|---|
static <AC extends Actor> |
TCPActorClient.Connect(Class<AC> clz,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
Actor |
TCPActorServer.ActorServerClientConnection.getFacadeProxy() |
| Modifier and Type | Method and Description |
|---|---|
static TCPActorServer |
TCPActorServer.Publish(Actor act,
int port) |
protected void |
TCPActorClient.remoteRefStopped(Actor actor) |
| Constructor and Description |
|---|
ActorServerClientConnection(Socket s,
Actor facade) |
| Constructor and Description |
|---|
TCPActorClient(Class<? extends Actor> clz,
String host,
int port) |
| Modifier and Type | Class and Description |
|---|---|
class |
Hoarde<T extends Actor>
Created by ruedi on 07.09.14.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HttpMonitor
Created by ruedi on 18.10.14.
|
class |
Log
Created by ruedi on 24.08.14.
|
Copyright © 2014. All rights reserved.