public static class Context.Simple extends Context.Abst
Context.Abst, Context.IterationContext<T>, Context.Operation, Context.SimpleControllableContext.Directive| Modifier and Type | Field and Description |
|---|---|
protected Context |
parent |
container, executionDirectiveForGroupName, iterationContext, mutexManager| Modifier | Constructor and Description |
|---|---|
protected |
Simple() |
protected |
Simple(Map<Object,Object> container,
Map<String,ControllableContext.Directive> executionDirectiveForGroupName,
org.burningwave.core.concurrent.Mutex.Manager.ForMap<Context.Operation,Object,Object> mutexManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static Context |
create() |
Context |
createSymmetricClone() |
<K,V> Context |
put(K key,
V value) |
Context |
putAll(Context input) |
Context |
putAll(Map<?,?> inputContainer) |
Context |
putDirective(String groupName,
ControllableContext.Directive directive) |
Context |
removeAll(Object... keys) |
Context |
removeDirective(String groupName,
ControllableContext.Directive directive) |
<V> V |
waitForPut(Object key,
Predicate<V> predicate,
int... timeout) |
<V> V |
waitForRemove(Object key,
Predicate<V> predicate,
int... timeout) |
clear, containsOneOf, get, getCurrentIteratedObject, getCurrentIterationIndex, getCurrentIterationResult, setCurrentIterationResultprotected Context parent
protected Simple(Map<Object,Object> container, Map<String,ControllableContext.Directive> executionDirectiveForGroupName, org.burningwave.core.concurrent.Mutex.Manager.ForMap<Context.Operation,Object,Object> mutexManager)
protected Simple()
public static Context create()
public <K,V> Context put(K key, V value)
public Context putDirective(String groupName, ControllableContext.Directive directive)
public Context removeDirective(String groupName, ControllableContext.Directive directive)
public Context createSymmetricClone()
public void close()
close in interface AutoCloseableclose in interface org.burningwave.core.Componentclose in interface Contextclose in class Context.Abstpublic <V> V waitForPut(Object key, Predicate<V> predicate, int... timeout) throws InterruptedException
InterruptedExceptionpublic <V> V waitForRemove(Object key, Predicate<V> predicate, int... timeout) throws InterruptedException
InterruptedExceptionCopyright © 2019. All rights reserved.