protected static class AbstractTask.InnerWriteServiceCallable<T> extends AbstractTask.DelegateTask<T>
NonBlockingLockManager
before the task can execute and to release
locks after the task has completed (whether it succeeds or fails).
Note: This inner class delegates the execution of the task to
AbstractTask.doTask()
on the outer class.
Note: If there is only a single writer thread then the lock system essentially does nothing. When there are multiple writer threads the lock system imposes a partial ordering on the writers that ensures that writes on a given named index are single-threaded and that deadlocks do not prevent tasks from progressing. If there is strong lock contention then writers will be more or less serialized.
delegate
Modifier and Type | Method and Description |
---|---|
T |
call()
Note: Locks on the named indices are ONLY held during this call.
|
getIndex, getJournal, getOnlyResource, getResource, getResourceManager, getTaskCounters, toString
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.