public class SyncMethodExecContainer extends Object
Modifier and Type | Field and Description |
---|---|
Object |
lock |
Method |
method |
Object[] |
parameters |
Object |
returnValue |
boolean |
used |
Constructor and Description |
---|
SyncMethodExecContainer(Method method,
Object[] parameters) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Called in the main thread to execute herein contained method with a given
parameters and collecting the return value.
|
Object |
getLock() |
Object |
syncCallInMainThread()
Enqueue and wait for execution of the herein contained method in the main
thread.
|
public volatile Method method
public volatile Object[] parameters
public volatile Object returnValue
public volatile Object lock
public volatile boolean used
public void execute()
public Object syncCallInMainThread()
public Object getLock()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.