(file) Return to README CVS log (file) (dir) Up to [Pegasus] / pegasus / test / TestProviders / LargeDataProvider

File: [Pegasus] / pegasus / test / TestProviders / LargeDataProvider / README (download)
Revision: 1.1, Tue Feb 17 15:09:28 2004 UTC (20 years, 4 months ago) by s.soni
Branch: MAIN
CVS Tags: pegasus25BeforeLicenseUpdate, STABLE, SLPPERFINST-root, SLPPERFINST-branch, RELEASE_2_5_0-RC1, RELEASE_2_5_0, RELEASE_2_4_FC_CANDIDATE_1, RELEASE_2_4_3, RELEASE_2_4_2, RELEASE_2_4_1-BETA3, RELEASE_2_4_1-BETA2, RELEASE_2_4_1-BETA1, RELEASE_2_4_1, RELEASE_2_4_0-RC3, RELEASE_2_4_0-RC2, RELEASE_2_4_0, RELEASE_2_4-root, RELEASE_2_4-branch, RELEASE_2_3_2-branch-freeze, PEP244_ServerProfile-root, PEP244_ServerProfile-branch, PEP233_EmbeddedInstSupport-root, PEP217_PRE_BRANCH, PEP217_POST_BRANCH, PEP217_BRANCH, PEP214ROOT, PEP214BRANCH, PEP214-root, PEP214-branch, PEP213_SIZE_OPTIMIZATIONS, PEP-214B-root, PEGASUS_2_5_0_PerformanceDev-string-end, PEGASUS_2_5_0_PerformanceDev-rootlt, PEGASUS_2_5_0_PerformanceDev-root, PEGASUS_2_5_0_PerformanceDev-r2, PEGASUS_2_5_0_PerformanceDev-r1, PEGASUS_2_5_0_PerformanceDev-lit-end, PEGASUS_2_5_0_PerformanceDev-buffer-end, PEGASUS_2_5_0_PerformanceDev-branch, PEGASUS_2_5_0_PerformanceDev-AtomicInt-branch, PEG25_IBM_5_16_05, NPEGASUS_2_5_0_PerformanceDev-String-root, NNPEGASUS_2_5_0_PerformanceDev-String-branch, MONITOR_CONSOLIDATION_2_5_BRANCH, IBM_241_April1405, CQL_2_5_BRANCH, CHUNKTESTDONE_PEP140, BUG_4225_PERFORMANCE_VERSION_1_DONE
Branch point for: PEP233_EmbeddedInstSupport-branch
Test Provider for pegasus as explained in PEP#121

Large Data Sample Provider
--------------------------
The test programs present in this directory implement an instance provider 
that exercise the messaging system by returning large amounts of data.

The Base Class of the provider is LargeDataSampleClass, the class for which
all the CIM operations are performed is SampleClass.

Working
-------
There is a const macro NO_OF_INSTANCES which decides the number of instances 
to be created. This can be modified for testing huge amount of data in any of 
the 2 places. Either in the source file LargeDataProvider.cpp Or in the 
Makefile by defining the NO_OF_INSTANCES locally as:
LOCAL_DEFINES=-DNO_OF_INSTANCES=<number>
If it is defined inside the Makefile, the value present in the cpp source is 
overwritten.
The creation of Instances is done when the enumerateInstances method of the
provider is called.If a client requests for enumerateInstanceNames it will fail
if enumerateInstances wouldn't have been executed.

Scripts
-------
rebuild: After modifying the source for NO_OF_INSTANCES you need to execute 
	this script in order to rebuild and register the provider. It also 
	restarts the cimserver so that the new repository is also loaded when
	we are performing operations on the Provider.

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2