@MBean(objectName="RecoveryAdmin", description="Exposes tooling for handling transaction recovery.") public class RecoveryAdminOperations extends Object
Constructor and Description |
---|
RecoveryAdminOperations() |
Modifier and Type | Method and Description |
---|---|
String |
forceCommit(int formatId,
byte[] globalTxId,
byte[] branchQualifier) |
String |
forceCommit(long internalId) |
String |
forceRollback(int formatId,
byte[] globalTxId,
byte[] branchQualifier) |
String |
forceRollback(long internalId) |
String |
forget(int formatId,
byte[] globalTxId,
byte[] branchQualifier) |
String |
forget(long internalId) |
String |
showInDoubtTransactions() |
@ManagedOperation(description="Shows all the prepared transactions for which the originating node crashed", displayName="Show in doubt transactions") public String showInDoubtTransactions()
@ManagedOperation(description="Forces the commit of an in-doubt transaction", displayName="Force commit by internal id") public String forceCommit(@Parameter(name="internalId",description="The internal identifier of the transaction") long internalId)
@ManagedOperation(description="Forces the commit of an in-doubt transaction", displayName="Force commit by Xid", name="forceCommit") public String forceCommit(@Parameter(name="formatId",description="The formatId of the transaction") int formatId, @Parameter(name="globalTxId",description="The globalTxId of the transaction") byte[] globalTxId, @Parameter(name="branchQualifier",description="The branchQualifier of the transaction") byte[] branchQualifier)
@ManagedOperation(description="Forces the rollback of an in-doubt transaction", displayName="Force rollback by internal id") public String forceRollback(@Parameter(name="internalId",description="The internal identifier of the transaction") long internalId)
@ManagedOperation(description="Forces the rollback of an in-doubt transaction", displayName="Force rollback by Xid", name="forceRollback") public String forceRollback(@Parameter(name="formatId",description="The formatId of the transaction") int formatId, @Parameter(name="globalTxId",description="The globalTxId of the transaction") byte[] globalTxId, @Parameter(name="branchQualifier",description="The branchQualifier of the transaction") byte[] branchQualifier)
@ManagedOperation(description="Removes recovery info for the given transaction.", displayName="Remove recovery info by Xid", name="forget") public String forget(@Parameter(name="formatId",description="The formatId of the transaction") int formatId, @Parameter(name="globalTxId",description="The globalTxId of the transaction") byte[] globalTxId, @Parameter(name="branchQualifier",description="The branchQualifier of the transaction") byte[] branchQualifier)
@ManagedOperation(description="Removes recovery info for the given transaction.", displayName="Remove recovery info by internal id") public String forget(@Parameter(name="internalId",description="The internal identifier of the transaction") long internalId)
Copyright © 2021 JBoss by Red Hat. All rights reserved.