use of org.ow2.proactive.threading.ReifiedMethodCall in project scheduling by ow2-proactive.
the class ClientRequestHandler method addEvent.
/**
* Add an event to the request queue of this client
*
* @param method the method to be called (must be a method implemented by the client)
* @param args the argument to be passed to the method
*/
public void addEvent(Method method, Object... args) {
synchronized (eventCallsToStore) {
eventCallsToStore.add(new ReifiedMethodCall(method, args));
requestLeft.incrementAndGet();
}
tryStartTask();
}
Aggregations