@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)
PipelineExecutorRegistryregister in interface PipelineExecutorRegistrytrace - a pipeline executor trace for registering.public void deregister(String pipelineExecutionId)
PipelineExecutorRegistryderegister in interface PipelineExecutorRegistrypipelineExecutionId - the identifier of the trace to deregister.public PipelineExecutorTrace getExecutorTrace(String pipelineExecutionId)
PipelineExecutorRegistrygetExecutorTrace in interface PipelineExecutorRegistrypipelineExecutionId - the identifier of trace.public Collection<PipelineExecutorTrace> getExecutorTraces()
PipelineExecutorRegistrygetExecutorTraces in interface PipelineExecutorRegistrypublic PipelineExecutorTrace getExecutorTrace(RuntimeId runtimeId)
PipelineExecutorRegistrygetExecutorTrace in interface PipelineExecutorRegistryruntimeId - a runtime for finding the associated pipeline executor trace.Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.