Package org.burningwave.graph
Class Context.Abst
java.lang.Object
org.burningwave.graph.Context.Abst
- All Implemented Interfaces:
Serializable,AutoCloseable,org.burningwave.core.Cleanable,org.burningwave.core.Closeable,org.burningwave.core.Component,org.burningwave.core.Identifiable,org.burningwave.core.iterable.Properties.Listener,org.burningwave.core.Memorizer,Context,ControllableContext,IterableObjectSupport,ListenableContext
- Direct Known Subclasses:
Context.Simple
- Enclosing interface:
- Context
public abstract static class Context.Abst extends Object implements Context
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.burningwave.graph.Context
Context.Abst, Context.IterationContext<T>, Context.Operation, Context.SimpleNested classes/interfaces inherited from interface org.burningwave.graph.ControllableContext
ControllableContext.Directive -
Field Summary
Fields Modifier and Type Field Description protected Map<Object,Object>containerprotected Map<String,ControllableContext.Directive>executionDirectiveForGroupNameprotected Context.IterationContext<Object>iterationContextprotected Mutex.Manager.ForMap<Context.Operation,Object,Object>mutexManager -
Constructor Summary
Constructors Constructor Description Abst(Map<Object,Object> container, Map<String,ControllableContext.Directive> executionDirectiveForGroupName, Mutex.Manager.ForMap<Context.Operation,Object,Object> mutexManager) -
Method Summary
Modifier and Type Method Description voidclear()voidclose()booleancontainsOneOf(String name, ControllableContext.Directive... directives)<T> Tget(Object key)<T> TgetCurrentIteratedObject()IntegergetCurrentIterationIndex()<T> TgetCurrentIterationResult()voidsetCurrentIterationResult(Object obj)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.burningwave.core.Cleanable
clearInBackgroundMethods inherited from interface org.burningwave.core.Closeable
closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTaskMethods inherited from interface org.burningwave.graph.Context
createSymmetricClone, put, putAll, putAll, removeAllMethods inherited from interface org.burningwave.graph.ControllableContext
putDirective, removeDirectiveMethods inherited from interface org.burningwave.core.Identifiable
getId, getOperationIdMethods inherited from interface org.burningwave.graph.ListenableContext
waitForPut, waitForRemoveMethods inherited from interface org.burningwave.core.Memorizer
getOrCreateTemporaryFolder, getOrCreateTemporaryFolder, getTemporaryFolderPrefixMethods inherited from interface org.burningwave.core.iterable.Properties.Listener
checkAndListenTo, checkAndUnregister, listenTo, processChangeNotification, unregister
-
Field Details
-
container
-
executionDirectiveForGroupName
-
iterationContext
-
mutexManager
-
-
Constructor Details
-
Abst
public Abst(Map<Object,Object> container, Map<String,ControllableContext.Directive> executionDirectiveForGroupName, Mutex.Manager.ForMap<Context.Operation,Object,Object> mutexManager)
-
-
Method Details
-
get
-
containsOneOf
- Specified by:
containsOneOfin interfaceControllableContext
-
getCurrentIterationIndex
- Specified by:
getCurrentIterationIndexin interfaceIterableObjectSupport
-
getCurrentIteratedObject
public <T> T getCurrentIteratedObject()- Specified by:
getCurrentIteratedObjectin interfaceIterableObjectSupport
-
setCurrentIterationResult
- Specified by:
setCurrentIterationResultin interfaceIterableObjectSupport
-
getCurrentIterationResult
public <T> T getCurrentIterationResult()- Specified by:
getCurrentIterationResultin interfaceIterableObjectSupport
-
clear
public void clear()- Specified by:
clearin interfaceorg.burningwave.core.Cleanable
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.burningwave.core.Closeable- Specified by:
closein interfaceContext
-