public final class ShowProcessListManager extends Object
| 构造器和说明 |
|---|
ShowProcessListManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<org.apache.shardingsphere.infra.executor.sql.process.model.ExecuteProcessContext> |
getAllProcessContext()
Get all execute process context.
|
static ShowProcessListManager |
getInstance()
Get show process list manager.
|
org.apache.shardingsphere.infra.executor.sql.process.model.ExecuteProcessContext |
getProcessContext(String executionId)
Get execute process context.
|
Collection<Statement> |
getProcessStatement(String executionId)
Get execute process statement.
|
void |
putProcessContext(String executionId,
org.apache.shardingsphere.infra.executor.sql.process.model.ExecuteProcessContext processContext)
Put execute process context.
|
void |
putProcessStatement(String executionId,
Collection<Statement> statements)
Put process statements.
|
void |
removeProcessContext(String executionId)
Remove execute process context.
|
void |
removeProcessStatement(String executionId)
Remove execute process statement.
|
public static ShowProcessListManager getInstance()
public void putProcessContext(String executionId, org.apache.shardingsphere.infra.executor.sql.process.model.ExecuteProcessContext processContext)
executionId - execution idprocessContext - process contextpublic void putProcessStatement(String executionId, Collection<Statement> statements)
executionId - execution idstatements - statementspublic org.apache.shardingsphere.infra.executor.sql.process.model.ExecuteProcessContext getProcessContext(String executionId)
executionId - execution idpublic Collection<Statement> getProcessStatement(String executionId)
executionId - execution idpublic void removeProcessContext(String executionId)
executionId - execution idpublic void removeProcessStatement(String executionId)
executionId - execution idpublic Collection<org.apache.shardingsphere.infra.executor.sql.process.model.ExecuteProcessContext> getAllProcessContext()
Copyright © 2022 The Apache Software Foundation. All rights reserved.