Hi everyone,
i've this piece of code:
// snipped start
static void waitForNextJob(QueueDescriptor descriptor) {
TokenDispenser dispenser = dispenserFor(descriptor);
int lockCount = 0;
try {
if (descriptor.editingContext() instanceof ERXEC) {
ERXEC ec = (ERXEC) descriptor.editingContext();
while (ec.lockCount() > 0) {
ec.unlock();
lockCount++;
}
}
dispenser.getJobToken();
} finally {
while (lockCount > 0) {
descriptor.editingContext().lock();
lockCount--;
}
}
}
// snippet end
In it, as you can see, is used method lockCount() from class ERXEC
(project wonder 2.0?).
I'm trying to build using project wonder 6.0.
Considering that the method lockCount() is missing in project wonder
how can i obtain the same behavior?
Thank you.
--
Filìppo Laurìa
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Help/Unsubscribe/Update your Subscription: