@Service public class TCContextService extends Object
| Modifier and Type | Field and Description |
|---|---|
static ConcurrentHashMap<String,Integer> |
currentPartitionNumbers |
| Constructor and Description |
|---|
TCContextService() |
| Modifier and Type | Method and Description |
|---|---|
org.qubership.automation.itf.core.model.jpa.context.TcContext |
createInMemory(BigInteger projectId,
UUID projectUuid) |
void |
disableStepByStepOnCurrentServiceInstance(BigInteger contextId) |
void |
fail(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
failByTimeout(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
finish(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
static int |
getCurrentPartitionNumberByProject(UUID projectUuid) |
int |
getDurationMinutes(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
Deprecated.
|
void |
mergePendingContextsIfAny(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
notifyATP(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
This notification is invoked during TcContext events processing in the LoggerSubscriber
Events are TcContextEvent.Fail, TcContextEvent.Finish, TcContextEvent.Stop
|
void |
pause(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
pauseOnCurrentServiceInstance(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
prolong(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
refreshPartitionNumbers(Map<String,Integer> newData) |
void |
resumeOnCurrentServiceInstance(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
setMessageParameters(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext,
Collection<org.qubership.automation.itf.core.model.jpa.message.parser.MessageParameter> messageParameters) |
void |
setMessageParameters(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext,
Map<String,org.qubership.automation.itf.core.model.jpa.message.parser.MessageParameter> messageParameters) |
void |
start(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
stop(BigInteger tcContextId,
String tenantId) |
void |
stop(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
stopOnCurrentServiceInstance(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
terminateByTimeout(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
updateContext(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
updateInfo(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
void |
updateLastAccess(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext) |
public static final ConcurrentHashMap<String,Integer> currentPartitionNumbers
public static int getCurrentPartitionNumberByProject(UUID projectUuid)
public void start(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void updateInfo(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void stop(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void stop(BigInteger tcContextId, String tenantId)
public void stopOnCurrentServiceInstance(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void resumeOnCurrentServiceInstance(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void prolong(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void finish(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void fail(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void failByTimeout(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void terminateByTimeout(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void disableStepByStepOnCurrentServiceInstance(BigInteger contextId)
public void pause(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void pauseOnCurrentServiceInstance(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void updateContext(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void setMessageParameters(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext,
Map<String,org.qubership.automation.itf.core.model.jpa.message.parser.MessageParameter> messageParameters)
public void setMessageParameters(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext,
Collection<org.qubership.automation.itf.core.model.jpa.message.parser.MessageParameter> messageParameters)
@Deprecated public int getDurationMinutes(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void notifyATP(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void mergePendingContextsIfAny(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public void updateLastAccess(org.qubership.automation.itf.core.model.jpa.context.TcContext tcContext)
public org.qubership.automation.itf.core.model.jpa.context.TcContext createInMemory(BigInteger projectId, UUID projectUuid)
Copyright © 2025. All rights reserved.