

Classes | |
| class | CallerTask |
| class | DALClientCallable |
Public Member Functions | |
| void | testConcurrentCalls () throws Exception |
| void | testSequentialCalls () throws Exception |
| void | testCallsPerSecond () throws Exception |
| void | testNonExistingConcurrentCalls () throws Exception |
| void | testNonExistingSequentialCalls () throws Exception |
| void | testNonExistingCallsPerSecond () throws Exception |
| void | testSemiExistingConcurrentCalls () throws Exception |
| void | testSemiExistingSequentialCalls () throws Exception |
| void | testSemiExistingCallsPerSecond () throws Exception |
Protected Member Functions | |
| void | setUp () throws Exception |
| void | tearDown () throws Exception |
Private Member Functions | |
| void | runConcurrentCalls (String[]daos) throws Exception |
| void | runSequentialCalls (String[]daos) |
Private Attributes | |
| String | strIOR = "corbaloc::" + ACSPorts.getIP() + ":" + ACSPorts.getCDBPort() + "/CDB" |
| ORB | orb |
| DAL | dal |
Static Private Attributes | |
| static final int | CALLS_PER_SECOND_TRIES = 500 |
| static final int | SEQUENTIAL_CALLS_ITERATIONS = 50 |
| static final int | CONCURRENT_CALLS_ITERATIONS = 50 |
| static final int | NUMBER_OF_SEQUENTIAL_CALLS = 100 |
| static final int | NUMBER_OF_CONCURRENT_CALLS = 100 |
| static final int[] | concurrentCallsIterations = {1, 2, 4, 8, 16} |
| static final String | MANAGER_DAO = "MACI/Managers/Manager" |
| static final String | CONTAINER_DAO = "MACI/Containers/Container" |
| static final String | TESTPS_DAO = "alma/TEST_PS_1" |
| static final String | FILTERWHEEL_DAO = "alma/FILTERWHEEL1" |
| static final String | COMPONENTS_DAO = "MACI/Components" |
| static final String | ABM001_DAO = "MACI/Components/CONTROL/AmbManager/ABM001" |
| static final String | ABM002_DAO = "MACI/Components/CONTROL/AmbManager/ABM002" |
| static final String | ARTM_DAO = "MACI/Components/CONTROL/AmbManager/ARTM" |
| static final String | DMC_DAO = "MACI/Components/CONTROL/AmbManager/DMC" |
| static final String | ANTENNA_DAO = "MACI/Components/CONTROL/Antenna" |
| static final String | GPS_DAO = "MACI/Components/CONTROL/GPS" |
| static final String | OPERATOR_DAO = "MACI/Components/CONTROL/Operator" |
| static final String | SNDLONODE40_DAO = "MACI/Components/CONTROL/SecondLO/Node0x40/Generic" |
| static final String | SNDLONODE41_DAO = "MACI/Components/CONTROL/SecondLO/Node0x41/Generic" |
| static final String | SNDLONODE42_DAO = "MACI/Components/CONTROL/SecondLO/Node0x42/Generic" |
| static final String | SNDLONODE43_DAO = "MACI/Components/CONTROL/SecondLO/Node0x43/Generic" |
| static final String | NONEXISTING01 = "MACI/Components/CONTROL/MyOwnAntenna01" |
| static final String | NONEXISTING02 = "MACI/Components/CONTROL/MyOwnAntenna02" |
| static final String | NONEXISTING03 = "MACI/Components/CONTROL/MyOwnAntenna03" |
| static final String | NONEXISTING04 = "MACI/Components/CONTROL/MyOwnAntenna04" |
| static final String | NONEXISTING05 = "MACI/Components/CONTROL/MyOwnAntenna05" |
| static final String | NONEXISTING06 = "MACI/Components/CONTROL/MyOwnAntenna06" |
| static final String | NONEXISTING07 = "MACI/Components/CONTROL/MyOwnAntenna07" |
| static final String | NONEXISTING08 = "MACI/Components/CONTROL/MyOwnAntenna08" |
| static final String | NONEXISTING09 = "Lala/Lalo09" |
| static final String | NONEXISTING10 = "Lala/Lalo10" |
| static final String | NONEXISTING11 = "Lala/Lalo11" |
| static final String | NONEXISTING12 = "Lala/Lalo12" |
| static final String | NONEXISTING13 = "Lala/Lalo13" |
| static final String | NONEXISTING14 = "Lala/Lalo14" |
| static final String | NONEXISTING15 = "Lala/Lalo15" |
| static final String | NONEXISTING16 = "Lala/Lalo16" |
| static final String | SEMIEXISTING01 = "MACI/Containers/EmptyContainerDefinition01" |
| static final String | SEMIEXISTING02 = "MACI/Containers/EmptyContainerDefinition02" |
| static final String | SEMIEXISTING03 = "MACI/Containers/EmptyContainerDefinition03" |
| static final String | SEMIEXISTING04 = "MACI/Containers/EmptyContainerDefinition04" |
| static final String | SEMIEXISTING05 = "MACI/Containers/EmptyContainerDefinition05" |
| static final String | SEMIEXISTING06 = "MACI/Containers/EmptyContainerDefinition06" |
| static final String | SEMIEXISTING07 = "MACI/Containers/EmptyContainerDefinition07" |
| static final String | SEMIEXISTING08 = "MACI/Containers/EmptyContainerDefinition08" |
| static final String | SEMIEXISTING09 = "MACI/Containers/EmptyContainerDefinition09" |
| static final String | SEMIEXISTING10 = "MACI/Containers/EmptyContainerDefinition10" |
| static final String | SEMIEXISTING11 = "MACI/Containers/EmptyContainerDefinition11" |
| static final String | SEMIEXISTING12 = "MACI/Containers/EmptyContainerDefinition12" |
| static final String | SEMIEXISTING13 = "MACI/Containers/EmptyContainerDefinition13" |
| static final String | SEMIEXISTING14 = "MACI/Containers/EmptyContainerDefinition14" |
| static final String | SEMIEXISTING15 = "MACI/Containers/EmptyContainerDefinition15" |
| static final String | SEMIEXISTING16 = "MACI/Containers/EmptyContainerDefinition16" |
This class stresses the DAL, by sending it different calls combinations, sequentially or concurrently. It prints some nice numbers on the screen, but it could also give some simple asserts as it is a unit test
| void alma::acs::cdb::tests::PerformanceTest::runConcurrentCalls | ( | String[] | daos | ) | throws Exception [inline, private] |
| void alma::acs::cdb::tests::PerformanceTest::runSequentialCalls | ( | String[] | daos | ) | [inline, private] |
| void alma::acs::cdb::tests::PerformanceTest::setUp | ( | ) | throws Exception [inline, protected] |
| void alma::acs::cdb::tests::PerformanceTest::tearDown | ( | ) | throws Exception [inline, protected] |
| void alma::acs::cdb::tests::PerformanceTest::testCallsPerSecond | ( | ) | throws Exception [inline] |
| void alma::acs::cdb::tests::PerformanceTest::testConcurrentCalls | ( | ) | throws Exception [inline] |
| void alma::acs::cdb::tests::PerformanceTest::testNonExistingCallsPerSecond | ( | ) | throws Exception [inline] |
| void alma::acs::cdb::tests::PerformanceTest::testNonExistingConcurrentCalls | ( | ) | throws Exception [inline] |
| void alma::acs::cdb::tests::PerformanceTest::testNonExistingSequentialCalls | ( | ) | throws Exception [inline] |
| void alma::acs::cdb::tests::PerformanceTest::testSemiExistingCallsPerSecond | ( | ) | throws Exception [inline] |
| void alma::acs::cdb::tests::PerformanceTest::testSemiExistingConcurrentCalls | ( | ) | throws Exception [inline] |
| void alma::acs::cdb::tests::PerformanceTest::testSemiExistingSequentialCalls | ( | ) | throws Exception [inline] |
| void alma::acs::cdb::tests::PerformanceTest::testSequentialCalls | ( | ) | throws Exception [inline] |
final String alma::acs::cdb::tests::PerformanceTest::ABM001_DAO = "MACI/Components/CONTROL/AmbManager/ABM001" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::ABM002_DAO = "MACI/Components/CONTROL/AmbManager/ABM002" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::ANTENNA_DAO = "MACI/Components/CONTROL/Antenna" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::ARTM_DAO = "MACI/Components/CONTROL/AmbManager/ARTM" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final int alma::acs::cdb::tests::PerformanceTest::CALLS_PER_SECOND_TRIES = 500 [static, private] |
Referenced by testCallsPerSecond(), testNonExistingCallsPerSecond(), and testSemiExistingCallsPerSecond().
final String alma::acs::cdb::tests::PerformanceTest::COMPONENTS_DAO = "MACI/Components" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final int alma::acs::cdb::tests::PerformanceTest::CONCURRENT_CALLS_ITERATIONS = 50 [static, private] |
Referenced by runConcurrentCalls().
final int [] alma::acs::cdb::tests::PerformanceTest::concurrentCallsIterations = {1, 2, 4, 8, 16} [static, private] |
Referenced by runConcurrentCalls().
final String alma::acs::cdb::tests::PerformanceTest::CONTAINER_DAO = "MACI/Containers/Container" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::DMC_DAO = "MACI/Components/CONTROL/AmbManager/DMC" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::FILTERWHEEL_DAO = "alma/FILTERWHEEL1" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::GPS_DAO = "MACI/Components/CONTROL/GPS" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::MANAGER_DAO = "MACI/Managers/Manager" [static, private] |
Referenced by testCallsPerSecond(), testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING01 = "MACI/Components/CONTROL/MyOwnAntenna01" [static, private] |
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING02 = "MACI/Components/CONTROL/MyOwnAntenna02" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING03 = "MACI/Components/CONTROL/MyOwnAntenna03" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING04 = "MACI/Components/CONTROL/MyOwnAntenna04" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING05 = "MACI/Components/CONTROL/MyOwnAntenna05" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING06 = "MACI/Components/CONTROL/MyOwnAntenna06" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING07 = "MACI/Components/CONTROL/MyOwnAntenna07" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING08 = "MACI/Components/CONTROL/MyOwnAntenna08" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING09 = "Lala/Lalo09" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING10 = "Lala/Lalo10" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING11 = "Lala/Lalo11" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING12 = "Lala/Lalo12" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING13 = "Lala/Lalo13" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING14 = "Lala/Lalo14" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING15 = "Lala/Lalo15" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::NONEXISTING16 = "Lala/Lalo16" [static, private] |
Referenced by testNonExistingConcurrentCalls(), and testNonExistingSequentialCalls().
final int alma::acs::cdb::tests::PerformanceTest::NUMBER_OF_CONCURRENT_CALLS = 100 [static, private] |
Referenced by runConcurrentCalls().
final int alma::acs::cdb::tests::PerformanceTest::NUMBER_OF_SEQUENTIAL_CALLS = 100 [static, private] |
Referenced by runSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::OPERATOR_DAO = "MACI/Components/CONTROL/Operator" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
ORB alma::acs::cdb::tests::PerformanceTest::orb [private] |
Referenced by setUp(), and tearDown().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING01 = "MACI/Containers/EmptyContainerDefinition01" [static, private] |
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING02 = "MACI/Containers/EmptyContainerDefinition02" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING03 = "MACI/Containers/EmptyContainerDefinition03" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING04 = "MACI/Containers/EmptyContainerDefinition04" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING05 = "MACI/Containers/EmptyContainerDefinition05" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING06 = "MACI/Containers/EmptyContainerDefinition06" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING07 = "MACI/Containers/EmptyContainerDefinition07" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING08 = "MACI/Containers/EmptyContainerDefinition08" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING09 = "MACI/Containers/EmptyContainerDefinition09" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING10 = "MACI/Containers/EmptyContainerDefinition10" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING11 = "MACI/Containers/EmptyContainerDefinition11" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING12 = "MACI/Containers/EmptyContainerDefinition12" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING13 = "MACI/Containers/EmptyContainerDefinition13" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING14 = "MACI/Containers/EmptyContainerDefinition14" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING15 = "MACI/Containers/EmptyContainerDefinition15" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SEMIEXISTING16 = "MACI/Containers/EmptyContainerDefinition16" [static, private] |
Referenced by testSemiExistingConcurrentCalls(), and testSemiExistingSequentialCalls().
final int alma::acs::cdb::tests::PerformanceTest::SEQUENTIAL_CALLS_ITERATIONS = 50 [static, private] |
Referenced by runSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SNDLONODE40_DAO = "MACI/Components/CONTROL/SecondLO/Node0x40/Generic" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SNDLONODE41_DAO = "MACI/Components/CONTROL/SecondLO/Node0x41/Generic" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SNDLONODE42_DAO = "MACI/Components/CONTROL/SecondLO/Node0x42/Generic" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
final String alma::acs::cdb::tests::PerformanceTest::SNDLONODE43_DAO = "MACI/Components/CONTROL/SecondLO/Node0x43/Generic" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
String alma::acs::cdb::tests::PerformanceTest::strIOR = "corbaloc::" + ACSPorts.getIP() + ":" + ACSPorts.getCDBPort() + "/CDB" [private] |
Referenced by setUp().
final String alma::acs::cdb::tests::PerformanceTest::TESTPS_DAO = "alma/TEST_PS_1" [static, private] |
Referenced by testConcurrentCalls(), and testSequentialCalls().
1.6.2