@Override
protected ModelNode invokeCommand(Cache<?, ?> cache, ModelNode operation) throws Exception {
long internalId = operation.require(ModelKeys.TX_INTERNAL_ID).asLong();
RecoveryAdminOperations recoveryAdminOperations = SecurityActions.getComponentRegistry(cache.getAdvancedCache()).getComponent(RecoveryAdminOperations.class);
return toOperationResult(recoveryAdminOperations.forget(internalId));
}
}
public static class BackupBringSiteOnlineCommand extends CacheCommands {
public static final BackupBringSiteOnlineCommand INSTANCE = new BackupBringSiteOnlineCommand();