@ApplicationScoped public class InMemoryPipelineExecutorRegistry extends Object implements PipelineExecutorRegistry
Modifier and Type | Field and Description |
---|---|
protected Map<String,PipelineExecutorTrace> |
recordsMap |
Constructor and Description |
---|
InMemoryPipelineExecutorRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
deregister(String pipelineExecutionId)
Deregisters a pipeline executor trace.
|
PipelineExecutorTrace |
getExecutorTrace(RuntimeId runtimeId)
Gets the pipeline executor trace that produced a runtime.
|
PipelineExecutorTrace |
getExecutorTrace(String pipelineExecutionId)
Gets a registered pipeline executor trace.
|
Collection<PipelineExecutorTrace> |
getExecutorTraces()
Get the currently registered pipeline executor traces.
|
void |
register(PipelineExecutorTrace trace)
Registers a pipeline executor trace.
|
protected Map<String,PipelineExecutorTrace> recordsMap
public void register(PipelineExecutorTrace trace)
PipelineExecutorRegistry
register
in interface PipelineExecutorRegistry
trace
- a pipeline executor trace for registering.public void deregister(String pipelineExecutionId)
PipelineExecutorRegistry
deregister
in interface PipelineExecutorRegistry
pipelineExecutionId
- the identifier of the trace to deregister.public PipelineExecutorTrace getExecutorTrace(String pipelineExecutionId)
PipelineExecutorRegistry
getExecutorTrace
in interface PipelineExecutorRegistry
pipelineExecutionId
- the identifier of trace.public Collection<PipelineExecutorTrace> getExecutorTraces()
PipelineExecutorRegistry
getExecutorTraces
in interface PipelineExecutorRegistry
public PipelineExecutorTrace getExecutorTrace(RuntimeId runtimeId)
PipelineExecutorRegistry
getExecutorTrace
in interface PipelineExecutorRegistry
runtimeId
- a runtime for finding the associated pipeline executor trace.Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.