Public Member Functions | Public Attributes

rm_DBOperation Class Reference

#include <rm_dboperation.h>

Inherited by dbo_AddColMediaVol, dbo_AddDiskSubsys, dbo_AddDrive, dbo_AddDriveHost, dbo_AddLibrary, dbo_AddMajorCol, dbo_AddMediaPool, dbo_AddMedium, dbo_AddMediumVol, dbo_AddMinorCol, dbo_AddSlot, dbo_AllocateAdmin, dbo_AllocateMig, dbo_AllocateRec, dbo_CheckAndAddColMediaVol, dbo_ClearPartitionStatus, dbo_ClearRecoveryFlag, dbo_ClearReorgScan, dbo_DisablePartition, dbo_DriveError, dbo_DriveStatusClear, dbo_DriveStatusSet, dbo_EnablePartition, dbo_GetBestCopy, dbo_GetHost, dbo_GetMediaInfo, dbo_GetNewMigId, dbo_InitAllResource, dbo_InitJobIdGen, dbo_InitPartition, dbo_InsertPartition, dbo_InventoryUpdate, dbo_IsSomeVolumeUsed, dbo_LibraryStatusClear, dbo_LibraryStatusSet, dbo_MediumLoaded, dbo_MediumStatusClear, dbo_MediumStatusSet, dbo_MediumUnloaded, dbo_MediumUnreliable, dbo_MediumUnusable, dbo_MedVolStatusClear, dbo_MedVolStatusSet, dbo_NewJobIdGen, dbo_PoolInfo, dbo_ReleaseResources, dbo_RemoveColIDs, dbo_RemoveColMediaVol, dbo_RemoveDiskSubsys, dbo_RemoveDrive, dbo_RemoveDriveHost, dbo_RemoveLibrary, dbo_RemoveMajorCol, dbo_RemoveMediaPool, dbo_RemoveMedium, dbo_RemoveMediumVol, dbo_RemoveMinorCol, dbo_RemovePartition, dbo_RemoveSlot, dbo_SelectAllColVolumes, dbo_SelectAllDiskSubsys, dbo_SelectAllDriveHosts, dbo_SelectAllDrives, dbo_SelectAllLibraries, dbo_SelectAllMajorCol, dbo_SelectAllMediaByPart, dbo_SelectAllMediaPool, dbo_SelectAllMedium, dbo_SelectAllMediumVol, dbo_SelectAllMediumVolByBarcode, dbo_SelectAllMediumVolByPart, dbo_SelectAllMinorCol, dbo_SelectAllPartition, dbo_SelectAllSlots, dbo_SelectDiskSubsys, dbo_SelectDiskSubsysByKey, dbo_SelectDrive, dbo_SelectDriveByKey, dbo_SelectDriveHost, dbo_SelectDriveHostByKey, dbo_SelectLibrary, dbo_SelectLibraryByKey, dbo_SelectMajorCol, dbo_SelectMediaPool, dbo_SelectMediaPoolByKey, dbo_SelectMediaPoolbyUUID, dbo_SelectMedium, dbo_SelectMediumByDrive, dbo_SelectMediumByKey, dbo_SelectMediumVol, dbo_SelectMediumVolByKey, dbo_SelectMediumVolByUUID, dbo_SelectMinColByMajCol, dbo_SelectMinorCol, dbo_SelectPartition, dbo_SelectPartitionByUuid, dbo_SelectSlot, dbo_SelectSlotByKey, dbo_SetPartitionStatus, dbo_SetRecoveryFlag, dbo_SetReorgScan, dbo_UpdateDataSize, dbo_UpdateDiskSubsys, dbo_UpdateDrive, dbo_UpdateDriveHost, dbo_UpdateLibrary, dbo_UpdateMajorCol, dbo_UpdateMediaPool, dbo_UpdateMedium, dbo_UpdateMediumVol, dbo_UpdateMinorCol, dbo_UpdatePartition, dbo_UpdateSlot, dbo_VolumeEmpty, dbo_VolumeError, dbo_VolumeFull, dbo_VolumeListStatusSet, and dbo_VolumeUsage.

Collaboration diagram for rm_DBOperation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 rm_DBOperation (rm_DBThread &a_DBThread)
virtual ~rm_DBOperation ()
void Execute ()
virtual void Process ()=0

Public Attributes

rm_DBThreadm_DBThread
 log_CLASSID_m

Detailed Description

Definition at line 78 of file rm_dboperation.h.


Constructor & Destructor Documentation

rm_DBOperation::rm_DBOperation ( rm_DBThread a_DBThread  ) 

Definition at line 59 of file rm_dboperation.cpp.

                                                      :
    m_DBThread(a_DBThread) {
    /*empty*/
}

rm_DBOperation::~rm_DBOperation (  )  [virtual]

Definition at line 64 of file rm_dboperation.cpp.

                               {
    /*empty*/
}


Member Function Documentation

void rm_DBOperation::Execute (  ) 

Definition at line 68 of file rm_dboperation.cpp.

References m_DBThread, and rm_DBThread::Process().

Referenced by i_ResourceManager_i::AddColMediaVol(), i_ResourceManager_i::AddDiskSubsys(), i_ResourceManager_i::AddDrive(), i_ResourceManager_i::AddDriveHost(), i_ResourceManager_i::AddLibrary(), i_ResourceManager_i::AddMajorCol(), i_ResourceManager_i::AddMediaPool(), i_ResourceManager_i::AddMedium(), i_ResourceManager_i::AddMediumVol(), i_ResourceManager_i::AddMinorCol(), i_ResourceManager_i::AddPartition(), i_ResourceManager_i::AddSlot(), rm_Queue::AllocateAdmin(), rm_Queue::AllocateMaint(), rm_Queue::AllocateMig(), rm_Queue::AllocateRec(), rm_Queue::AllocateRecovery(), rm_Queue::AllocateReorg(), i_ResourceManager_i::ClearPartitionStatus(), i_ResourceManager_i::ClearRecoveryFlag(), i_ResourceManager_i::ClearReorgScan(), i_ResourceManager_i::DisablePartition(), i_ResourceManager_i::DriveError(), i_ResourceManager_i::DriveStatusClear(), i_ResourceManager_i::DriveStatusSet(), i_ResourceManager_i::EnablePartition(), i_ResourceManager_i::GetBestCopy(), i_ResourceManager_i::GetHost(), i_ResourceManager_i::GetMediaInfo(), i_ResourceManager_i::GetNewJobID(), rm_SysState::GetNewMigID(), i_ResourceManager_i::i_ResourceManager_i(), i_ResourceManager_i::InventoryUpdate(), i_ResourceManager_i::IsSomeVolumeUsed(), i_ResourceManager_i::LibraryStatusClear(), i_ResourceManager_i::LibraryStatusSet(), i_ResourceManager_i::MediumLoaded(), i_ResourceManager_i::MediumStatusClear(), i_ResourceManager_i::MediumStatusSet(), i_ResourceManager_i::MediumUnLoaded(), i_ResourceManager_i::MediumUnreliable(), i_ResourceManager_i::MediumUnusable(), i_ResourceManager_i::MedVolStatusClear(), i_ResourceManager_i::MedVolStatusSet(), i_ResourceManager_i::PoolInfo(), i_ResourceManager_i::ReconfigureLibrary(), i_ResourceManager_i::RegisterPartition(), i_ResourceManager_i::ReleaseRecallResources(), i_ResourceManager_i::ReleaseResource(), i_ResourceManager_i::RemoveColIDs(), i_ResourceManager_i::RemoveDrive(), i_ResourceManager_i::RemoveDriveHost(), i_ResourceManager_i::RemoveDSS(), i_ResourceManager_i::RemoveLibrary(), i_ResourceManager_i::RemoveMediaPool(), i_ResourceManager_i::RemoveMedium(), i_ResourceManager_i::RemoveMediumVol(), i_ResourceManager_i::RemovePartition(), i_ResourceManager_i::RemoveSlot(), rm_PartitionStatus::rm_PartitionStatus(), i_ResourceManager_i::SelectAllColVolumes(), i_ResourceManager_i::SelectAllDriveHosts(), i_ResourceManager_i::SelectAllDrives(), i_ResourceManager_i::SelectAllDSS(), i_ResourceManager_i::SelectAllLibraries(), i_ResourceManager_i::SelectAllMajorCol(), i_ResourceManager_i::SelectAllMedia(), i_ResourceManager_i::SelectAllMediaByPart(), i_ResourceManager_i::SelectAllMediaPools(), i_ResourceManager_i::SelectAllMediumVol(), i_ResourceManager_i::SelectAllMediumVolByBarcode(), i_ResourceManager_i::SelectAllMediumVolByPart(), i_ResourceManager_i::SelectAllMinorCol(), i_ResourceManager_i::SelectAllMinorColByMajCol(), i_ResourceManager_i::SelectAllPartition(), i_ResourceManager_i::SelectAllSlots(), i_ResourceManager_i::SelectAllUnrecoveredMedVol(), i_ResourceManager_i::SelectDrive(), i_ResourceManager_i::SelectDriveByKey(), i_ResourceManager_i::SelectDriveHost(), i_ResourceManager_i::SelectDSS(), i_ResourceManager_i::SelectLibrary(), i_ResourceManager_i::SelectMediaPool(), i_ResourceManager_i::SelectMediaPoolbyUUID(), i_ResourceManager_i::SelectMedium(), i_ResourceManager_i::SelectMediumByDrive(), i_ResourceManager_i::SelectMediumByKey(), i_ResourceManager_i::SelectMediumVol(), i_ResourceManager_i::SelectMediumVolByKey(), i_ResourceManager_i::SelectMediumVolByUUID(), i_ResourceManager_i::SelectMinorCol(), i_ResourceManager_i::SelectPartition(), i_ResourceManager_i::SelectPartitionByUUID(), i_ResourceManager_i::SelectSlot(), i_ResourceManager_i::SetPartitionStatus(), i_ResourceManager_i::SetRecoveryFlag(), i_ResourceManager_i::SetReorgScan(), i_ResourceManager_i::StartAllLA(), i_ResourceManager_i::StartLA(), i_ResourceManager_i::StopAllLA(), i_ResourceManager_i::StopLA(), i_ResourceManager_i::UpdateDataSize(), i_ResourceManager_i::UpdateDiskSubsys(), i_ResourceManager_i::UpdateDrive(), i_ResourceManager_i::UpdateDriveHost(), i_ResourceManager_i::UpdateLibrary(), i_ResourceManager_i::UpdateMajorCol(), i_ResourceManager_i::UpdateMediaPool(), i_ResourceManager_i::UpdateMedium(), i_ResourceManager_i::UpdateMediumVol(), i_ResourceManager_i::UpdatePartition(), i_ResourceManager_i::UpdateSlot(), i_ResourceManager_i::VolumeEmpty(), i_ResourceManager_i::VolumeError(), i_ResourceManager_i::VolumeFull(), i_ResourceManager_i::VolumeListStatusSet(), and i_ResourceManager_i::VolumeUsage().

                             {
    m_DBThread.Process(this);
}

Here is the call graph for this function:

virtual void rm_DBOperation::Process (  )  [pure virtual]

Implemented in dbo_SelectLibrary, dbo_SelectLibraryByKey, dbo_SelectAllLibraries, dbo_UpdateLibrary, dbo_AddLibrary, dbo_RemoveLibrary, dbo_SelectDrive, dbo_SelectDriveByKey, dbo_UpdateDrive, dbo_AddDrive, dbo_RemoveDrive, dbo_SelectAllDrives, dbo_AddMajorCol, dbo_AddMinorCol, dbo_AddColMediaVol, dbo_CheckAndAddColMediaVol, dbo_RemoveMajorCol, dbo_RemoveMinorCol, dbo_RemoveColMediaVol, dbo_UpdateMajorCol, dbo_UpdateMinorCol, dbo_SelectMajorCol, dbo_SelectMinorCol, dbo_SelectAllMajorCol, dbo_SelectAllMinorCol, dbo_SelectMinColByMajCol, dbo_SelectAllColVolumes, dbo_RemoveColIDs, dbo_SelectDriveHost, dbo_SelectDriveHostByKey, dbo_UpdateDriveHost, dbo_AddDriveHost, dbo_RemoveDriveHost, dbo_SelectAllDriveHosts, dbo_SelectDiskSubsys, dbo_SelectDiskSubsysByKey, dbo_UpdateDiskSubsys, dbo_AddDiskSubsys, dbo_RemoveDiskSubsys, dbo_SelectAllDiskSubsys, dbo_SelectSlot, dbo_SelectSlotByKey, dbo_UpdateSlot, dbo_AddSlot, dbo_RemoveSlot, dbo_SelectAllSlots, dbo_SelectMediaPool, dbo_SelectMediaPoolbyUUID, dbo_SelectMediaPoolByKey, dbo_UpdateMediaPool, dbo_AddMediaPool, dbo_RemoveMediaPool, dbo_SelectAllMediaPool, dbo_SelectMedium, dbo_SelectMediumByDrive, dbo_SelectMediumByKey, dbo_UpdateMedium, dbo_AddMedium, dbo_RemoveMedium, dbo_SelectAllMedium, dbo_SelectMediumVol, dbo_SelectMediumVolByKey, dbo_SelectMediumVolByUUID, dbo_UpdateMediumVol, dbo_AddMediumVol, dbo_RemoveMediumVol, dbo_SelectAllMediumVol, dbo_SelectAllMediumVolByPart, dbo_IsSomeVolumeUsed, dbo_SelectAllMediumVolByBarcode, dbo_SelectAllMediaByPart, dbo_SetRecoveryFlag, dbo_ClearRecoveryFlag, dbo_UpdateDataSize, dbo_GetBestCopy, dbo_MediumLoaded, dbo_MediumUnloaded, dbo_VolumeFull, dbo_VolumeEmpty, dbo_VolumeUsage, dbo_VolumeError, dbo_MediumUnreliable, dbo_MediumUnusable, dbo_MediumStatusSet, dbo_MediumStatusClear, dbo_GetMediaInfo, dbo_MedVolStatusSet, dbo_MedVolStatusClear, dbo_VolumeListStatusSet, dbo_DriveStatusSet, dbo_DriveStatusClear, dbo_LibraryStatusSet, dbo_LibraryStatusClear, dbo_DriveError, dbo_InventoryUpdate, dbo_InitAllResource, dbo_AllocateMig, dbo_AllocateRec, dbo_AllocateAdmin, dbo_GetHost, dbo_GetNewMigId, dbo_InitPartition, dbo_SelectPartition, dbo_SelectPartitionByUuid, dbo_InsertPartition, dbo_RemovePartition, dbo_UpdatePartition, dbo_SelectAllPartition, dbo_DisablePartition, dbo_EnablePartition, dbo_SetPartitionStatus, dbo_ClearPartitionStatus, dbo_InitJobIdGen, dbo_NewJobIdGen, dbo_ReleaseResources, dbo_PoolInfo, dbo_SetReorgScan, and dbo_ClearReorgScan.

Referenced by rm_DBThread::Run().

Here is the caller graph for this function:


Member Data Documentation

Reimplemented in dbo_SelectLibrary, dbo_SelectLibraryByKey, dbo_SelectAllLibraries, dbo_UpdateLibrary, dbo_AddLibrary, dbo_RemoveLibrary, dbo_SelectDrive, dbo_SelectDriveByKey, dbo_UpdateDrive, dbo_AddDrive, dbo_RemoveDrive, dbo_SelectAllDrives, dbo_AddMajorCol, dbo_AddMinorCol, dbo_AddColMediaVol, dbo_CheckAndAddColMediaVol, dbo_RemoveMajorCol, dbo_RemoveMinorCol, dbo_RemoveColMediaVol, dbo_UpdateMajorCol, dbo_UpdateMinorCol, dbo_SelectMajorCol, dbo_SelectMinorCol, dbo_SelectAllMajorCol, dbo_SelectAllMinorCol, dbo_SelectMinColByMajCol, dbo_SelectAllColVolumes, dbo_RemoveColIDs, dbo_SelectDriveHost, dbo_SelectDriveHostByKey, dbo_UpdateDriveHost, dbo_AddDriveHost, dbo_RemoveDriveHost, dbo_SelectAllDriveHosts, dbo_SelectDiskSubsys, dbo_SelectDiskSubsysByKey, dbo_UpdateDiskSubsys, dbo_AddDiskSubsys, dbo_RemoveDiskSubsys, dbo_SelectAllDiskSubsys, dbo_SelectSlot, dbo_SelectSlotByKey, dbo_UpdateSlot, dbo_AddSlot, dbo_RemoveSlot, dbo_SelectAllSlots, dbo_SelectMediaPool, dbo_SelectMediaPoolbyUUID, dbo_SelectMediaPoolByKey, dbo_UpdateMediaPool, dbo_AddMediaPool, dbo_RemoveMediaPool, dbo_SelectAllMediaPool, dbo_SelectMedium, dbo_SelectMediumByDrive, dbo_SelectMediumByKey, dbo_UpdateMedium, dbo_AddMedium, dbo_RemoveMedium, dbo_SelectAllMedium, dbo_SelectMediumVol, dbo_SelectMediumVolByKey, dbo_SelectMediumVolByUUID, dbo_UpdateMediumVol, dbo_AddMediumVol, dbo_RemoveMediumVol, dbo_SelectAllMediumVol, dbo_SelectAllMediumVolByPart, dbo_IsSomeVolumeUsed, dbo_SelectAllMediumVolByBarcode, dbo_SelectAllMediaByPart, dbo_SetRecoveryFlag, dbo_ClearRecoveryFlag, dbo_UpdateDataSize, dbo_GetBestCopy, dbo_MediumLoaded, dbo_MediumUnloaded, dbo_VolumeFull, dbo_VolumeEmpty, dbo_VolumeUsage, dbo_VolumeError, dbo_MediumUnreliable, dbo_MediumUnusable, dbo_MediumStatusSet, dbo_MediumStatusClear, dbo_GetMediaInfo, dbo_MedVolStatusSet, dbo_MedVolStatusClear, dbo_VolumeListStatusSet, dbo_DriveStatusSet, dbo_DriveStatusClear, dbo_LibraryStatusSet, dbo_LibraryStatusClear, dbo_DriveError, dbo_InventoryUpdate, dbo_InitAllResource, dbo_AllocateMig, dbo_AllocateRec, dbo_AllocateAdmin, dbo_GetHost, dbo_GetNewMigId, dbo_InitPartition, dbo_SelectPartition, dbo_SelectPartitionByUuid, dbo_InsertPartition, dbo_RemovePartition, dbo_UpdatePartition, dbo_SelectAllPartition, dbo_DisablePartition, dbo_EnablePartition, dbo_SetPartitionStatus, dbo_ClearPartitionStatus, dbo_InitJobIdGen, dbo_NewJobIdGen, dbo_ReleaseResources, dbo_PoolInfo, dbo_SetReorgScan, and dbo_ClearReorgScan.

Definition at line 88 of file rm_dboperation.h.

Definition at line 87 of file rm_dboperation.h.

Referenced by Execute(), dbo_ClearReorgScan::Process(), dbo_SetReorgScan::Process(), dbo_PoolInfo::Process(), dbo_ReleaseResources::Process(), dbo_ClearPartitionStatus::Process(), dbo_SetPartitionStatus::Process(), dbo_EnablePartition::Process(), dbo_DisablePartition::Process(), dbo_SelectAllPartition::Process(), dbo_UpdatePartition::Process(), dbo_RemovePartition::Process(), dbo_InsertPartition::Process(), dbo_SelectPartitionByUuid::Process(), dbo_SelectPartition::Process(), dbo_GetHost::Process(), dbo_AllocateAdmin::Process(), dbo_AllocateRec::Process(), dbo_AllocateMig::Process(), dbo_InitAllResource::Process(), dbo_InventoryUpdate::Process(), dbo_LibraryStatusClear::Process(), dbo_LibraryStatusSet::Process(), dbo_DriveStatusClear::Process(), dbo_DriveStatusSet::Process(), dbo_VolumeListStatusSet::Process(), dbo_MedVolStatusClear::Process(), dbo_MedVolStatusSet::Process(), dbo_MediumStatusClear::Process(), dbo_MediumStatusSet::Process(), dbo_MediumUnusable::Process(), dbo_MediumUnreliable::Process(), dbo_DriveError::Process(), dbo_VolumeError::Process(), dbo_VolumeUsage::Process(), dbo_VolumeEmpty::Process(), dbo_VolumeFull::Process(), dbo_MediumUnloaded::Process(), dbo_MediumLoaded::Process(), dbo_GetBestCopy::Process(), dbo_UpdateDataSize::Process(), dbo_ClearRecoveryFlag::Process(), dbo_SetRecoveryFlag::Process(), dbo_GetMediaInfo::Process(), dbo_SelectAllMediumVolByBarcode::Process(), dbo_IsSomeVolumeUsed::Process(), dbo_SelectAllMediaByPart::Process(), dbo_SelectAllMediumVolByPart::Process(), dbo_SelectAllMediumVol::Process(), dbo_RemoveMediumVol::Process(), dbo_AddMediumVol::Process(), dbo_UpdateMediumVol::Process(), dbo_SelectMediumVolByUUID::Process(), dbo_SelectMediumVolByKey::Process(), dbo_SelectMediumVol::Process(), dbo_SelectAllMedium::Process(), dbo_RemoveMedium::Process(), dbo_AddMedium::Process(), dbo_UpdateMedium::Process(), dbo_SelectMediumByDrive::Process(), dbo_SelectMediumByKey::Process(), dbo_SelectMedium::Process(), dbo_SelectAllMediaPool::Process(), dbo_RemoveMediaPool::Process(), dbo_AddMediaPool::Process(), dbo_UpdateMediaPool::Process(), dbo_SelectMediaPoolByKey::Process(), dbo_SelectMediaPoolbyUUID::Process(), dbo_SelectMediaPool::Process(), dbo_SelectAllSlots::Process(), dbo_RemoveSlot::Process(), dbo_AddSlot::Process(), dbo_UpdateSlot::Process(), dbo_SelectSlotByKey::Process(), dbo_SelectSlot::Process(), dbo_SelectAllDiskSubsys::Process(), dbo_RemoveDiskSubsys::Process(), dbo_AddDiskSubsys::Process(), dbo_UpdateDiskSubsys::Process(), dbo_SelectDiskSubsysByKey::Process(), dbo_SelectDiskSubsys::Process(), dbo_SelectAllDriveHosts::Process(), dbo_RemoveDriveHost::Process(), dbo_AddDriveHost::Process(), dbo_UpdateDriveHost::Process(), dbo_SelectDriveHostByKey::Process(), dbo_SelectDriveHost::Process(), dbo_SelectAllDrives::Process(), dbo_RemoveDrive::Process(), dbo_AddDrive::Process(), dbo_UpdateDrive::Process(), dbo_SelectDriveByKey::Process(), dbo_SelectDrive::Process(), dbo_SelectAllColVolumes::Process(), dbo_SelectAllMinorCol::Process(), dbo_SelectAllMajorCol::Process(), dbo_UpdateMinorCol::Process(), dbo_UpdateMajorCol::Process(), dbo_SelectMinColByMajCol::Process(), dbo_SelectMinorCol::Process(), dbo_SelectMajorCol::Process(), dbo_RemoveColIDs::Process(), dbo_RemoveColMediaVol::Process(), dbo_RemoveMinorCol::Process(), dbo_RemoveMajorCol::Process(), dbo_CheckAndAddColMediaVol::Process(), dbo_AddColMediaVol::Process(), dbo_AddMinorCol::Process(), dbo_AddMajorCol::Process(), dbo_RemoveLibrary::Process(), dbo_AddLibrary::Process(), dbo_UpdateLibrary::Process(), dbo_SelectAllLibraries::Process(), dbo_SelectLibraryByKey::Process(), and dbo_SelectLibrary::Process().


The documentation for this class was generated from the following files: