- java.lang.Object
-
- com.appslandia.common.base.InitializeObject
-
- com.appslandia.common.threading.MutexService<K>
-
- com.appslandia.common.threading.TaskMutexService<K>
-
- All Implemented Interfaces:
InitializeSupport
public abstract class TaskMutexService<K> extends MutexService<K>
- Author:
- Loc Ha
-
-
Constructor Summary
Constructors Constructor Description TaskMutexService()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute(K mutexKey, Runnable task)<V> Future<V>execute(K mutexKey, Runnable task, V result)<V> Future<V>execute(K mutexKey, Callable<V> task)protected abstract ExecutorServicegetExecutorService()-
Methods inherited from class com.appslandia.common.threading.MutexService
getMutex, init
-
Methods inherited from class com.appslandia.common.base.InitializeObject
assertNotInitialized, destroy, initialize
-
-