genie 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/genie-0.1.gem +0 -0
- data/genie-0.1/docs/classes/BasicCommand.html +249 -0
- data/genie-0.1/docs/classes/BasicCommand.src/M000070.html +18 -0
- data/genie-0.1/docs/classes/BasicCommand.src/M000071.html +18 -0
- data/genie-0.1/docs/classes/BasicCommand.src/M000072.html +18 -0
- data/genie-0.1/docs/classes/BasicCommand.src/M000073.html +18 -0
- data/genie-0.1/docs/classes/BasicCommand.src/M000074.html +16 -0
- data/genie-0.1/docs/classes/Command.html +277 -0
- data/genie-0.1/docs/classes/Command.src/M000052.html +20 -0
- data/genie-0.1/docs/classes/Command.src/M000053.html +18 -0
- data/genie-0.1/docs/classes/Command.src/M000054.html +20 -0
- data/genie-0.1/docs/classes/Command.src/M000055.html +20 -0
- data/genie-0.1/docs/classes/Command.src/M000056.html +18 -0
- data/genie-0.1/docs/classes/Command.src/M000057.html +18 -0
- data/genie-0.1/docs/classes/Command.src/M000058.html +23 -0
- data/genie-0.1/docs/classes/CommandMetainfo.html +362 -0
- data/genie-0.1/docs/classes/CommandMetainfo.src/M000042.html +18 -0
- data/genie-0.1/docs/classes/CommandMetainfo.src/M000043.html +18 -0
- data/genie-0.1/docs/classes/CommandMetainfo.src/M000044.html +19 -0
- data/genie-0.1/docs/classes/CommandMetainfo.src/M000045.html +25 -0
- data/genie-0.1/docs/classes/CommandMetainfo.src/M000046.html +21 -0
- data/genie-0.1/docs/classes/CommandMetainfo.src/M000047.html +21 -0
- data/genie-0.1/docs/classes/CompoundResult.html +359 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000075.html +18 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000076.html +18 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000078.html +18 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000079.html +18 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000080.html +18 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000082.html +18 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000084.html +20 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000085.html +18 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000086.html +18 -0
- data/genie-0.1/docs/classes/CompoundResult.src/M000087.html +20 -0
- data/genie-0.1/docs/classes/EntryProcessor.html +223 -0
- data/genie-0.1/docs/classes/EntryProcessor.src/M000008.html +18 -0
- data/genie-0.1/docs/classes/EntryProcessor.src/M000009.html +20 -0
- data/genie-0.1/docs/classes/EntryProcessor.src/M000010.html +18 -0
- data/genie-0.1/docs/classes/EntryProcessor.src/M000011.html +23 -0
- data/genie-0.1/docs/classes/Log4r.html +114 -0
- data/genie-0.1/docs/classes/Log4r/LogEvent.html +153 -0
- data/genie-0.1/docs/classes/Log4r/LogEvent.src/M000123.html +16 -0
- data/genie-0.1/docs/classes/NotifiedProcessor.html +155 -0
- data/genie-0.1/docs/classes/NotifiedProcessor.src/M000094.html +22 -0
- data/genie-0.1/docs/classes/NullTransactionController.html +191 -0
- data/genie-0.1/docs/classes/NullTransactionController.src/M000030.html +16 -0
- data/genie-0.1/docs/classes/NullTransactionController.src/M000031.html +16 -0
- data/genie-0.1/docs/classes/Object.html +154 -0
- data/genie-0.1/docs/classes/Object.src/M000103.html +16 -0
- data/genie-0.1/docs/classes/Periodic.html +564 -0
- data/genie-0.1/docs/classes/Periodic.src/M000124.html +26 -0
- data/genie-0.1/docs/classes/Periodic.src/M000125.html +21 -0
- data/genie-0.1/docs/classes/Periodic.src/M000126.html +18 -0
- data/genie-0.1/docs/classes/Periodic.src/M000127.html +18 -0
- data/genie-0.1/docs/classes/Periodic.src/M000128.html +31 -0
- data/genie-0.1/docs/classes/Periodic.src/M000129.html +30 -0
- data/genie-0.1/docs/classes/Periodic.src/M000130.html +18 -0
- data/genie-0.1/docs/classes/Periodic.src/M000131.html +18 -0
- data/genie-0.1/docs/classes/Periodic.src/M000132.html +16 -0
- data/genie-0.1/docs/classes/PollingProcessor.html +303 -0
- data/genie-0.1/docs/classes/PollingProcessor.src/M000088.html +23 -0
- data/genie-0.1/docs/classes/PollingProcessor.src/M000089.html +19 -0
- data/genie-0.1/docs/classes/PollingProcessor.src/M000091.html +22 -0
- data/genie-0.1/docs/classes/PollingProcessor.src/M000092.html +18 -0
- data/genie-0.1/docs/classes/PollingProcessor.src/M000093.html +18 -0
- data/genie-0.1/docs/classes/Queue.html +562 -0
- data/genie-0.1/docs/classes/Queue.src/M000104.html +22 -0
- data/genie-0.1/docs/classes/Queue.src/M000105.html +18 -0
- data/genie-0.1/docs/classes/Queue.src/M000106.html +18 -0
- data/genie-0.1/docs/classes/Queue.src/M000107.html +18 -0
- data/genie-0.1/docs/classes/Queue.src/M000108.html +21 -0
- data/genie-0.1/docs/classes/Queue.src/M000109.html +21 -0
- data/genie-0.1/docs/classes/Queue.src/M000110.html +22 -0
- data/genie-0.1/docs/classes/Queue.src/M000111.html +16 -0
- data/genie-0.1/docs/classes/Queue.src/M000112.html +18 -0
- data/genie-0.1/docs/classes/Queue.src/M000113.html +19 -0
- data/genie-0.1/docs/classes/Queue.src/M000114.html +23 -0
- data/genie-0.1/docs/classes/Queue.src/M000115.html +21 -0
- data/genie-0.1/docs/classes/Queue.src/M000116.html +19 -0
- data/genie-0.1/docs/classes/Queue.src/M000117.html +20 -0
- data/genie-0.1/docs/classes/Queue.src/M000118.html +25 -0
- data/genie-0.1/docs/classes/Queue.src/M000119.html +18 -0
- data/genie-0.1/docs/classes/Queue.src/M000120.html +22 -0
- data/genie-0.1/docs/classes/Queue.src/M000121.html +22 -0
- data/genie-0.1/docs/classes/Queue.src/M000122.html +20 -0
- data/genie-0.1/docs/classes/QueueDispatcher.html +247 -0
- data/genie-0.1/docs/classes/QueueDispatcher.src/M000048.html +18 -0
- data/genie-0.1/docs/classes/QueueDispatcher.src/M000049.html +21 -0
- data/genie-0.1/docs/classes/QueueDispatcher.src/M000050.html +18 -0
- data/genie-0.1/docs/classes/QueueDispatcher.src/M000051.html +32 -0
- data/genie-0.1/docs/classes/QueueEntry.html +522 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000012.html +21 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000013.html +18 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000014.html +18 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000015.html +18 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000017.html +16 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000018.html +19 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000020.html +19 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000022.html +19 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000023.html +21 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000024.html +19 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000025.html +18 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000026.html +18 -0
- data/genie-0.1/docs/classes/QueueEntry.src/M000028.html +18 -0
- data/genie-0.1/docs/classes/Result.html +289 -0
- data/genie-0.1/docs/classes/Result.src/M000063.html +20 -0
- data/genie-0.1/docs/classes/Result.src/M000064.html +18 -0
- data/genie-0.1/docs/classes/Result.src/M000066.html +18 -0
- data/genie-0.1/docs/classes/Result.src/M000068.html +18 -0
- data/genie-0.1/docs/classes/Result.src/M000069.html +19 -0
- data/genie-0.1/docs/classes/SemanticCommand.html +229 -0
- data/genie-0.1/docs/classes/SemanticCommand.src/M000059.html +19 -0
- data/genie-0.1/docs/classes/SemanticCommand.src/M000060.html +18 -0
- data/genie-0.1/docs/classes/SemanticCommand.src/M000061.html +18 -0
- data/genie-0.1/docs/classes/TransactionBundle.html +260 -0
- data/genie-0.1/docs/classes/TransactionBundle.src/M000001.html +18 -0
- data/genie-0.1/docs/classes/TransactionBundle.src/M000002.html +20 -0
- data/genie-0.1/docs/classes/TransactionBundle.src/M000003.html +20 -0
- data/genie-0.1/docs/classes/TransactionBundle.src/M000004.html +18 -0
- data/genie-0.1/docs/classes/TransactionBundle.src/M000005.html +18 -0
- data/genie-0.1/docs/classes/TransactionBundle.src/M000007.html +19 -0
- data/genie-0.1/docs/classes/UndoRedoCommand.html +308 -0
- data/genie-0.1/docs/classes/UndoRedoCommand.src/M000095.html +19 -0
- data/genie-0.1/docs/classes/UndoRedoCommand.src/M000096.html +16 -0
- data/genie-0.1/docs/classes/UndoRedoCommand.src/M000097.html +16 -0
- data/genie-0.1/docs/classes/UndoRedoCommand.src/M000098.html +16 -0
- data/genie-0.1/docs/classes/UndoRedoCommand.src/M000099.html +18 -0
- data/genie-0.1/docs/classes/UndoRedoCommand.src/M000101.html +18 -0
- data/genie-0.1/docs/classes/UndoRedoCommand.src/M000102.html +18 -0
- data/genie-0.1/docs/classes/UnitOfWork.html +322 -0
- data/genie-0.1/docs/classes/UnitOfWork.src/M000032.html +19 -0
- data/genie-0.1/docs/classes/UnitOfWork.src/M000033.html +18 -0
- data/genie-0.1/docs/classes/UnitOfWork.src/M000034.html +18 -0
- data/genie-0.1/docs/classes/UnitOfWork.src/M000035.html +18 -0
- data/genie-0.1/docs/classes/UnitOfWork.src/M000036.html +18 -0
- data/genie-0.1/docs/classes/UnitOfWork.src/M000037.html +18 -0
- data/genie-0.1/docs/classes/UnitOfWork.src/M000038.html +18 -0
- data/genie-0.1/docs/classes/UnitOfWork.src/M000039.html +18 -0
- data/genie-0.1/docs/classes/UnitOfWork.src/M000040.html +18 -0
- data/genie-0.1/docs/created.rid +1 -0
- data/genie-0.1/docs/dot/f_0.dot +14 -0
- data/genie-0.1/docs/dot/f_0.png +0 -0
- data/genie-0.1/docs/dot/f_1.dot +14 -0
- data/genie-0.1/docs/dot/f_1.png +0 -0
- data/genie-0.1/docs/dot/f_2.dot +14 -0
- data/genie-0.1/docs/dot/f_2.png +0 -0
- data/genie-0.1/docs/dot/f_3.dot +84 -0
- data/genie-0.1/docs/dot/f_3.png +0 -0
- data/genie-0.1/docs/dot/f_4.dot +14 -0
- data/genie-0.1/docs/dot/f_4.png +0 -0
- data/genie-0.1/docs/dot/f_5.dot +78 -0
- data/genie-0.1/docs/dot/f_5.png +0 -0
- data/genie-0.1/docs/dot/f_6.dot +50 -0
- data/genie-0.1/docs/dot/f_6.png +0 -0
- data/genie-0.1/docs/dot/f_7.dot +57 -0
- data/genie-0.1/docs/dot/f_7.png +0 -0
- data/genie-0.1/docs/dot/m_5_0.dot +30 -0
- data/genie-0.1/docs/dot/m_5_0.png +0 -0
- data/genie-0.1/docs/dot/m_7_0.dot +39 -0
- data/genie-0.1/docs/dot/m_7_0.png +0 -0
- data/genie-0.1/docs/files/License_txt.html +161 -0
- data/genie-0.1/docs/files/ReadMe_Amber_txt.html +491 -0
- data/genie-0.1/docs/files/ReadMe_txt.html +444 -0
- data/genie-0.1/docs/files/nist/genie/commands_rb.html +121 -0
- data/genie-0.1/docs/files/nist/genie/genie_rb.html +116 -0
- data/genie-0.1/docs/files/nist/genie/processors_rb.html +111 -0
- data/genie-0.1/docs/files/nist/genie/queues_rb.html +118 -0
- data/genie-0.1/docs/files/nist/genie/results_rb.html +117 -0
- data/genie-0.1/docs/fr_class_index.html +46 -0
- data/genie-0.1/docs/fr_file_index.html +34 -0
- data/genie-0.1/docs/fr_method_index.html +160 -0
- data/genie-0.1/docs/images/overview.jpg +0 -0
- data/genie-0.1/docs/index.html +24 -0
- data/genie-0.1/docs/rdoc-style.css +208 -0
- data/genie-0.1/lib/nist/genie/commands.rb +413 -0
- data/genie-0.1/lib/nist/genie/genie.rb +4 -0
- data/genie-0.1/lib/nist/genie/processors.rb +382 -0
- data/genie-0.1/lib/nist/genie/queues.rb +435 -0
- data/genie-0.1/lib/nist/genie/results.rb +113 -0
- data/genie-0.1/tests/helpers.rb +45 -0
- data/genie-0.1/tests/test_commands.rb +338 -0
- data/genie-0.1/tests/test_processors.rb +17 -0
- data/genie-0.1/tests/test_queues.rb +288 -0
- data/genie-0.1/tests/test_results.rb +37 -0
- data/trimurti-0.1.gem +0 -0
- data/trimurti-0.1/docs/classes/Array.html +176 -0
- data/trimurti-0.1/docs/classes/Array.src/M000005.html +19 -0
- data/trimurti-0.1/docs/classes/Array.src/M000006.html +19 -0
- data/trimurti-0.1/docs/classes/Asserter.html +136 -0
- data/trimurti-0.1/docs/classes/Brahma.html +360 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000029.html +21 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000030.html +20 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000031.html +36 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000032.html +18 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000033.html +20 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000034.html +21 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000035.html +25 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000036.html +22 -0
- data/trimurti-0.1/docs/classes/Brahma.src/M000037.html +22 -0
- data/trimurti-0.1/docs/classes/ComponentSpec.html +275 -0
- data/trimurti-0.1/docs/classes/ComponentSpec.src/M000001.html +21 -0
- data/trimurti-0.1/docs/classes/ComponentSpec.src/M000002.html +18 -0
- data/trimurti-0.1/docs/classes/DRb.html +165 -0
- data/trimurti-0.1/docs/classes/DRb.src/M000062.html +18 -0
- data/trimurti-0.1/docs/classes/DRb.src/M000063.html +18 -0
- data/trimurti-0.1/docs/classes/GUID.html +129 -0
- data/trimurti-0.1/docs/classes/Linda.html +444 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000007.html +16 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000008.html +16 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000009.html +20 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000010.html +16 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000011.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000012.html +21 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000013.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000014.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000015.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000016.html +18 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000017.html +20 -0
- data/trimurti-0.1/docs/classes/Linda.src/M000018.html +20 -0
- data/trimurti-0.1/docs/classes/Object.html +153 -0
- data/trimurti-0.1/docs/classes/Object.src/M000021.html +18 -0
- data/trimurti-0.1/docs/classes/Plugins.html +174 -0
- data/trimurti-0.1/docs/classes/Plugins.src/M000024.html +32 -0
- data/trimurti-0.1/docs/classes/Plugins.src/M000025.html +32 -0
- data/trimurti-0.1/docs/classes/Plugins/Spec.html +267 -0
- data/trimurti-0.1/docs/classes/Plugins/Spec.src/M000026.html +22 -0
- data/trimurti-0.1/docs/classes/Plugins/Spec.src/M000027.html +18 -0
- data/trimurti-0.1/docs/classes/Plugins/Spec.src/M000028.html +20 -0
- data/trimurti-0.1/docs/classes/QBE_ID.html +147 -0
- data/trimurti-0.1/docs/classes/QBE_ID.src/M000059.html +18 -0
- data/trimurti-0.1/docs/classes/QueryByExample.html +270 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000054.html +17 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000055.html +17 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000056.html +17 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000057.html +17 -0
- data/trimurti-0.1/docs/classes/QueryByExample.src/M000058.html +17 -0
- data/trimurti-0.1/docs/classes/Shiva.html +159 -0
- data/trimurti-0.1/docs/classes/Shiva.src/M000060.html +18 -0
- data/trimurti-0.1/docs/classes/Shiva.src/M000061.html +19 -0
- data/trimurti-0.1/docs/classes/String.html +176 -0
- data/trimurti-0.1/docs/classes/String.src/M000022.html +16 -0
- data/trimurti-0.1/docs/classes/String.src/M000023.html +16 -0
- data/trimurti-0.1/docs/classes/Symbol.html +176 -0
- data/trimurti-0.1/docs/classes/Symbol.src/M000003.html +16 -0
- data/trimurti-0.1/docs/classes/Symbol.src/M000004.html +16 -0
- data/trimurti-0.1/docs/classes/Trimurti.html +189 -0
- data/trimurti-0.1/docs/classes/Trimurti.src/M000019.html +16 -0
- data/trimurti-0.1/docs/classes/Trimurti.src/M000020.html +16 -0
- data/trimurti-0.1/docs/classes/Vishnu.html +563 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000038.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000039.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000040.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000041.html +22 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000042.html +23 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000043.html +24 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000044.html +24 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000045.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000046.html +22 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000047.html +20 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000048.html +18 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000049.html +22 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000050.html +20 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000051.html +19 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000052.html +30 -0
- data/trimurti-0.1/docs/classes/Vishnu.src/M000053.html +21 -0
- data/trimurti-0.1/docs/created.rid +1 -0
- data/trimurti-0.1/docs/dot/f_0.dot +14 -0
- data/trimurti-0.1/docs/dot/f_0.png +0 -0
- data/trimurti-0.1/docs/dot/f_1.dot +14 -0
- data/trimurti-0.1/docs/dot/f_1.png +0 -0
- data/trimurti-0.1/docs/dot/f_2.dot +14 -0
- data/trimurti-0.1/docs/dot/f_2.png +0 -0
- data/trimurti-0.1/docs/dot/f_3.dot +39 -0
- data/trimurti-0.1/docs/dot/f_3.png +0 -0
- data/trimurti-0.1/docs/dot/f_4.dot +39 -0
- data/trimurti-0.1/docs/dot/f_4.png +0 -0
- data/trimurti-0.1/docs/dot/f_5.dot +69 -0
- data/trimurti-0.1/docs/dot/f_5.png +0 -0
- data/trimurti-0.1/docs/dot/f_6.dot +149 -0
- data/trimurti-0.1/docs/dot/f_6.png +0 -0
- data/trimurti-0.1/docs/dot/m_3_0.dot +30 -0
- data/trimurti-0.1/docs/dot/m_3_0.png +0 -0
- data/trimurti-0.1/docs/dot/m_4_0.dot +39 -0
- data/trimurti-0.1/docs/dot/m_4_0.png +0 -0
- data/trimurti-0.1/docs/dot/m_5_0.dot +40 -0
- data/trimurti-0.1/docs/dot/m_5_0.png +0 -0
- data/trimurti-0.1/docs/dot/m_5_1.dot +30 -0
- data/trimurti-0.1/docs/dot/m_5_1.png +0 -0
- data/trimurti-0.1/docs/dot/m_6_0.dot +40 -0
- data/trimurti-0.1/docs/dot/m_6_0.png +0 -0
- data/trimurti-0.1/docs/dot/m_6_1.dot +30 -0
- data/trimurti-0.1/docs/dot/m_6_1.png +0 -0
- data/trimurti-0.1/docs/dot/m_6_2.dot +30 -0
- data/trimurti-0.1/docs/dot/m_6_2.png +0 -0
- data/trimurti-0.1/docs/files/License_txt.html +132 -0
- data/trimurti-0.1/docs/files/ReadMe_Amber_txt.html +491 -0
- data/trimurti-0.1/docs/files/ReadMe_txt.html +694 -0
- data/trimurti-0.1/docs/files/nist/trimurti/linda_rb.html +129 -0
- data/trimurti-0.1/docs/files/nist/trimurti/plugins_rb.html +129 -0
- data/trimurti-0.1/docs/files/nist/trimurti/queryByExample_rb.html +128 -0
- data/trimurti-0.1/docs/files/nist/trimurti/trimurti_rb.html +151 -0
- data/trimurti-0.1/docs/fr_class_index.html +43 -0
- data/trimurti-0.1/docs/fr_file_index.html +33 -0
- data/trimurti-0.1/docs/fr_method_index.html +89 -0
- data/trimurti-0.1/docs/images/overview.jpg +0 -0
- data/trimurti-0.1/docs/index.html +24 -0
- data/trimurti-0.1/docs/rdoc-style.css +208 -0
- data/trimurti-0.1/lib/nist/trimurti/linda.rb +163 -0
- data/trimurti-0.1/lib/nist/trimurti/plugins.rb +107 -0
- data/trimurti-0.1/lib/nist/trimurti/queryByExample.rb +81 -0
- data/trimurti-0.1/lib/nist/trimurti/trimurti.rb +433 -0
- data/trimurti-0.1/tests/test_linda.rb +111 -0
- data/trimurti-0.1/tests/test_trimurti.rb +247 -0
- metadata +467 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>new (PollingProcessor)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File nist/genie/processors.rb, line 349</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
15
|
+
<span class="ruby-identifier">initialize_periodic</span>(<span class="ruby-value">1.0</span>)
|
16
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">do_behavior</span>=<span class="ruby-identifier">:action</span>
|
17
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">max_max_periods_without_claims</span> = <span class="ruby-value">10</span>
|
18
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">min_claim_size</span> = <span class="ruby-value">5</span>
|
19
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">max_claim_size</span> = <span class="ruby-value">20</span>
|
20
|
+
<span class="ruby-identifier">_reset</span>
|
21
|
+
<span class="ruby-keyword kw">end</span></pre>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>claim? (PollingProcessor)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File nist/genie/processors.rb, line 358</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">claim?</span>
|
15
|
+
<span class="ruby-identifier">queue</span>.<span class="ruby-identifier">age_oldest_available</span> <span class="ruby-operator">></span> <span class="ruby-identifier">max_command_age</span> <span class="ruby-operator">&&</span>
|
16
|
+
<span class="ruby-identifier">queue</span>.<span class="ruby-identifier">estimated_seconds</span> <span class="ruby-operator">></span> <span class="ruby-identifier">min_claim_time</span>
|
17
|
+
<span class="ruby-keyword kw">end</span></pre>
|
18
|
+
</body>
|
19
|
+
</html>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>action (PollingProcessor)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File nist/genie/processors.rb, line 364</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">action</span>
|
15
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">claim?</span>
|
16
|
+
<span class="ruby-identifier">entry</span> = <span class="ruby-identifier">queue</span>.<span class="ruby-identifier">claim_seconds</span>(<span class="ruby-identifier">min_claim_time</span>, <span class="ruby-identifier">claim_size_limit</span>)
|
17
|
+
<span class="ruby-identifier">success</span> = <span class="ruby-identifier">process</span>(<span class="ruby-identifier">entry</span>)
|
18
|
+
<span class="ruby-identifier">queue</span>.<span class="ruby-identifier">processed</span>(<span class="ruby-identifier">entry</span>)
|
19
|
+
<span class="ruby-identifier">success</span> <span class="ruby-value">? </span><span class="ruby-identifier">_reset</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">_shrink</span>
|
20
|
+
<span class="ruby-keyword kw">end</span></pre>
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>_shrink (PollingProcessor)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File nist/genie/processors.rb, line 373</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_shrink</span>
|
15
|
+
<span class="ruby-ivar">@claim_fraction</span> <span class="ruby-operator">*=</span> <span class="ruby-constant">CLAIM_FRACTION_MULTIPLIER</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html>
|
7
|
+
<head>
|
8
|
+
<title>_reset (PollingProcessor)</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
+
</head>
|
12
|
+
<body class="standalone-code">
|
13
|
+
<pre><span class="ruby-comment cmt"># File nist/genie/processors.rb, line 378</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">_reset</span>
|
15
|
+
<span class="ruby-ivar">@claim_fraction</span> = <span class="ruby-value">1.0</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,562 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: Queue</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Queue</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/nist/genie/queues_rb.html">
|
59
|
+
nist/genie/queues.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
<a href="Object.html">
|
69
|
+
Object
|
70
|
+
</a>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="contextContent">
|
82
|
+
<div id="diagram">
|
83
|
+
<map id="map" name="map">
|
84
|
+
<area shape="RECT" coords="7,8,125,56" href="TransactionBundle.html" alt="TransactionBundle">
|
85
|
+
<area shape="RECT" coords="149,8,237,56" href="QueueEntry.html" alt="QueueEntry">
|
86
|
+
<area shape="RECT" coords="261,8,373,56" href="QueueDispatcher.html" alt="QueueDispatcher">
|
87
|
+
<area shape="RECT" coords="397,8,469,56" href="Queue.html" alt="Queue">
|
88
|
+
</map>
|
89
|
+
<img src="../dot/f_6.png" usemap="#map" border=0 alt="TopLevel">
|
90
|
+
</div>
|
91
|
+
|
92
|
+
<div id="description">
|
93
|
+
<h6>================================</h6>
|
94
|
+
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
</div>
|
99
|
+
|
100
|
+
<div id="method-list">
|
101
|
+
<h3 class="section-bar">Methods</h3>
|
102
|
+
|
103
|
+
<div class="name-list">
|
104
|
+
<a href="#M000121">_finish</a>
|
105
|
+
<a href="#M000119">_relinquish</a>
|
106
|
+
<a href="#M000120">_reschedule</a>
|
107
|
+
<a href="#M000105">add_processor</a>
|
108
|
+
<a href="#M000106">add_watcher</a>
|
109
|
+
<a href="#M000113">age_oldest_available</a>
|
110
|
+
<a href="#M000117">claim_entry</a>
|
111
|
+
<a href="#M000114">claim_num</a>
|
112
|
+
<a href="#M000115">claim_one</a>
|
113
|
+
<a href="#M000116">claim_seconds</a>
|
114
|
+
<a href="#M000109">do</a>
|
115
|
+
<a href="#M000108">enqueue</a>
|
116
|
+
<a href="#M000112">estimated_seconds</a>
|
117
|
+
<a href="#M000104">new</a>
|
118
|
+
<a href="#M000110">notify_watchers</a>
|
119
|
+
<a href="#M000111">num_available</a>
|
120
|
+
<a href="#M000118">num_for_estimated_seconds</a>
|
121
|
+
<a href="#M000122">processed</a>
|
122
|
+
<a href="#M000107">remove_watcher</a>
|
123
|
+
</div>
|
124
|
+
</div>
|
125
|
+
|
126
|
+
</div>
|
127
|
+
|
128
|
+
|
129
|
+
<!-- if includes -->
|
130
|
+
|
131
|
+
<div id="section">
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<div id="attribute-list">
|
138
|
+
<h3 class="section-bar">Attributes</h3>
|
139
|
+
|
140
|
+
<div class="name-list">
|
141
|
+
<table>
|
142
|
+
<tr class="top-aligned-row context-row">
|
143
|
+
<td class="context-item-name">available</td>
|
144
|
+
<td class="context-item-value"> [RW] </td>
|
145
|
+
<td class="context-item-desc">
|
146
|
+
An Array of available QueueEntries. The oldest entries have the lowest
|
147
|
+
indices.
|
148
|
+
|
149
|
+
</td>
|
150
|
+
</tr>
|
151
|
+
<tr class="top-aligned-row context-row">
|
152
|
+
<td class="context-item-name">claimed</td>
|
153
|
+
<td class="context-item-value"> [RW] </td>
|
154
|
+
<td class="context-item-desc">
|
155
|
+
QueueEntries that are currently being processed.
|
156
|
+
|
157
|
+
</td>
|
158
|
+
</tr>
|
159
|
+
<tr class="top-aligned-row context-row">
|
160
|
+
<td class="context-item-name">history</td>
|
161
|
+
<td class="context-item-value"> [RW] </td>
|
162
|
+
<td class="context-item-desc">
|
163
|
+
QueueEntries that have been fully processed (not necessarily successfully).
|
164
|
+
|
165
|
+
</td>
|
166
|
+
</tr>
|
167
|
+
<tr class="top-aligned-row context-row">
|
168
|
+
<td class="context-item-name">strict_bundle_handling</td>
|
169
|
+
<td class="context-item-value"> [RW] </td>
|
170
|
+
<td class="context-item-desc">
|
171
|
+
If strict_bundle_handling is true, all the commands in a <a
|
172
|
+
href="TransactionBundle.html">TransactionBundle</a> must be redone if any
|
173
|
+
command fails. Otherwise, the commands that failed are asked if they
|
174
|
+
may_have_side_effects: if any of the failures might have side effects, the
|
175
|
+
entire <a href="TransactionBundle.html">TransactionBundle</a> must be
|
176
|
+
redone. If, however, all the failed commands respond that they can not
|
177
|
+
contain side effects, only the failures are redone. strict_bundle_handling
|
178
|
+
is cautious, but not necessary (provided the side effect query is accuate):
|
179
|
+
after all, the bundle is not a <a href="UnitOfWork.html">UnitOfWork</a>.
|
180
|
+
|
181
|
+
</td>
|
182
|
+
</tr>
|
183
|
+
<tr class="top-aligned-row context-row">
|
184
|
+
<td class="context-item-name">watchers</td>
|
185
|
+
<td class="context-item-value"> [RW] </td>
|
186
|
+
<td class="context-item-desc">
|
187
|
+
An Array of objcts that respond to
|
188
|
+
|
189
|
+
<pre>
|
190
|
+
command_added(aCommand, aQue)
|
191
|
+
</pre>
|
192
|
+
<p>
|
193
|
+
This method returns a Boolean, true if the reciever wishes to handle the
|
194
|
+
command. When a command is enqueued, watchers are notified until either one
|
195
|
+
of the watchers accepts the command, or all of the watchers have been
|
196
|
+
informed of the command. The order of watchers in this array changes with
|
197
|
+
every send of <a href="Queue.html#M000110">notify_watchers</a>. This
|
198
|
+
rotation distributes the load among watchers.
|
199
|
+
</p>
|
200
|
+
</td>
|
201
|
+
</tr>
|
202
|
+
</table>
|
203
|
+
</div>
|
204
|
+
</div>
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
<!-- if method_list -->
|
209
|
+
<div id="methods">
|
210
|
+
<h3 class="section-bar">Public Class methods</h3>
|
211
|
+
|
212
|
+
<div id="method-M000104" class="method-detail">
|
213
|
+
<a name="M000104"></a>
|
214
|
+
|
215
|
+
<div class="method-heading">
|
216
|
+
<a href="Queue.src/M000104.html" target="Code" class="method-signature"
|
217
|
+
onclick="popupCode('Queue.src/M000104.html');return false;">
|
218
|
+
<span class="method-name">new</span><span class="method-args">()</span>
|
219
|
+
</a>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
<div class="method-description">
|
223
|
+
</div>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
227
|
+
|
228
|
+
<div id="method-M000121" class="method-detail">
|
229
|
+
<a name="M000121"></a>
|
230
|
+
|
231
|
+
<div class="method-heading">
|
232
|
+
<a href="Queue.src/M000121.html" target="Code" class="method-signature"
|
233
|
+
onclick="popupCode('Queue.src/M000121.html');return false;">
|
234
|
+
<span class="method-name">_finish</span><span class="method-args">(*entries)</span>
|
235
|
+
</a>
|
236
|
+
</div>
|
237
|
+
|
238
|
+
<div class="method-description">
|
239
|
+
<p>
|
240
|
+
The entries have either completed successfully, or we’ve given up on
|
241
|
+
them. Either way, add them to the history. The arguments are intended to be
|
242
|
+
QueueEntries, not TransactionBundles (which are decomposed by partition
|
243
|
+
inside <a href="Queue.html#M000122">processed</a>).
|
244
|
+
</p>
|
245
|
+
</div>
|
246
|
+
</div>
|
247
|
+
|
248
|
+
<div id="method-M000119" class="method-detail">
|
249
|
+
<a name="M000119"></a>
|
250
|
+
|
251
|
+
<div class="method-heading">
|
252
|
+
<a href="Queue.src/M000119.html" target="Code" class="method-signature"
|
253
|
+
onclick="popupCode('Queue.src/M000119.html');return false;">
|
254
|
+
<span class="method-name">_relinquish</span><span class="method-args">(entry)</span>
|
255
|
+
</a>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
<div class="method-description">
|
259
|
+
<p>
|
260
|
+
Remove the argument from the claimed collection
|
261
|
+
</p>
|
262
|
+
</div>
|
263
|
+
</div>
|
264
|
+
|
265
|
+
<div id="method-M000120" class="method-detail">
|
266
|
+
<a name="M000120"></a>
|
267
|
+
|
268
|
+
<div class="method-heading">
|
269
|
+
<a href="Queue.src/M000120.html" target="Code" class="method-signature"
|
270
|
+
onclick="popupCode('Queue.src/M000120.html');return false;">
|
271
|
+
<span class="method-name">_reschedule</span><span class="method-args">(*entries)</span>
|
272
|
+
</a>
|
273
|
+
</div>
|
274
|
+
|
275
|
+
<div class="method-description">
|
276
|
+
<p>
|
277
|
+
Return the entries to the beginning of the available collection. The
|
278
|
+
arguments are intended to be QueueEntries, not TransactionBundles (which
|
279
|
+
are decomposed by partition inside <a
|
280
|
+
href="Queue.html#M000122">processed</a>).
|
281
|
+
</p>
|
282
|
+
</div>
|
283
|
+
</div>
|
284
|
+
|
285
|
+
<div id="method-M000105" class="method-detail">
|
286
|
+
<a name="M000105"></a>
|
287
|
+
|
288
|
+
<div class="method-heading">
|
289
|
+
<a href="Queue.src/M000105.html" target="Code" class="method-signature"
|
290
|
+
onclick="popupCode('Queue.src/M000105.html');return false;">
|
291
|
+
<span class="method-name">add_processor</span><span class="method-args">(processor)</span>
|
292
|
+
</a>
|
293
|
+
</div>
|
294
|
+
|
295
|
+
<div class="method-description">
|
296
|
+
</div>
|
297
|
+
</div>
|
298
|
+
|
299
|
+
<div id="method-M000106" class="method-detail">
|
300
|
+
<a name="M000106"></a>
|
301
|
+
|
302
|
+
<div class="method-heading">
|
303
|
+
<a href="Queue.src/M000106.html" target="Code" class="method-signature"
|
304
|
+
onclick="popupCode('Queue.src/M000106.html');return false;">
|
305
|
+
<span class="method-name">add_watcher</span><span class="method-args">(watcher)</span>
|
306
|
+
</a>
|
307
|
+
</div>
|
308
|
+
|
309
|
+
<div class="method-description">
|
310
|
+
<p>
|
311
|
+
Register a watcher to recieve entry_added messages.
|
312
|
+
</p>
|
313
|
+
</div>
|
314
|
+
</div>
|
315
|
+
|
316
|
+
<div id="method-M000113" class="method-detail">
|
317
|
+
<a name="M000113"></a>
|
318
|
+
|
319
|
+
<div class="method-heading">
|
320
|
+
<a href="Queue.src/M000113.html" target="Code" class="method-signature"
|
321
|
+
onclick="popupCode('Queue.src/M000113.html');return false;">
|
322
|
+
<span class="method-name">age_oldest_available</span><span class="method-args">()</span>
|
323
|
+
</a>
|
324
|
+
</div>
|
325
|
+
|
326
|
+
<div class="method-description">
|
327
|
+
<p>
|
328
|
+
Returns the age of the oldest <a href="QueueEntry.html">QueueEntry</a>.
|
329
|
+
Returns 0.0 if none are available
|
330
|
+
</p>
|
331
|
+
</div>
|
332
|
+
</div>
|
333
|
+
|
334
|
+
<div id="method-M000117" class="method-detail">
|
335
|
+
<a name="M000117"></a>
|
336
|
+
|
337
|
+
<div class="method-heading">
|
338
|
+
<a href="Queue.src/M000117.html" target="Code" class="method-signature"
|
339
|
+
onclick="popupCode('Queue.src/M000117.html');return false;">
|
340
|
+
<span class="method-name">claim_entry</span><span class="method-args">(entry)</span>
|
341
|
+
</a>
|
342
|
+
</div>
|
343
|
+
|
344
|
+
<div class="method-description">
|
345
|
+
<p>
|
346
|
+
Transfer the specified entry from available to claimed, and return the
|
347
|
+
entry (nil if the entry is not present).
|
348
|
+
</p>
|
349
|
+
</div>
|
350
|
+
</div>
|
351
|
+
|
352
|
+
<div id="method-M000114" class="method-detail">
|
353
|
+
<a name="M000114"></a>
|
354
|
+
|
355
|
+
<div class="method-heading">
|
356
|
+
<a href="Queue.src/M000114.html" target="Code" class="method-signature"
|
357
|
+
onclick="popupCode('Queue.src/M000114.html');return false;">
|
358
|
+
<span class="method-name">claim_num</span><span class="method-args">(num)</span>
|
359
|
+
</a>
|
360
|
+
</div>
|
361
|
+
|
362
|
+
<div class="method-description">
|
363
|
+
<p>
|
364
|
+
Acts like <a href="Queue.html#M000115">claim_one</a> if num is less than
|
365
|
+
two. Otherwise builds a <a
|
366
|
+
href="TransactionBundle.html">TransactionBundle</a> from the specified
|
367
|
+
number of QueueEntries (or <a href="Queue.html#M000111">num_available</a>
|
368
|
+
if that is smaller). Adds the <a
|
369
|
+
href="TransactionBundle.html">TransactionBundle</a> to claimed, and returns
|
370
|
+
the <a href="TransactionBundle.html">TransactionBundle</a>.
|
371
|
+
</p>
|
372
|
+
</div>
|
373
|
+
</div>
|
374
|
+
|
375
|
+
<div id="method-M000115" class="method-detail">
|
376
|
+
<a name="M000115"></a>
|
377
|
+
|
378
|
+
<div class="method-heading">
|
379
|
+
<a href="Queue.src/M000115.html" target="Code" class="method-signature"
|
380
|
+
onclick="popupCode('Queue.src/M000115.html');return false;">
|
381
|
+
<span class="method-name">claim_one</span><span class="method-args">()</span>
|
382
|
+
</a>
|
383
|
+
</div>
|
384
|
+
|
385
|
+
<div class="method-description">
|
386
|
+
<p>
|
387
|
+
Remove the oldest QueueEntrhy from available. Add this oldest entry to
|
388
|
+
claimed. Return the entry.
|
389
|
+
</p>
|
390
|
+
</div>
|
391
|
+
</div>
|
392
|
+
|
393
|
+
<div id="method-M000116" class="method-detail">
|
394
|
+
<a name="M000116"></a>
|
395
|
+
|
396
|
+
<div class="method-heading">
|
397
|
+
<a href="Queue.src/M000116.html" target="Code" class="method-signature"
|
398
|
+
onclick="popupCode('Queue.src/M000116.html');return false;">
|
399
|
+
<span class="method-name">claim_seconds</span><span class="method-args">(sec, maxNum=nil)</span>
|
400
|
+
</a>
|
401
|
+
</div>
|
402
|
+
|
403
|
+
<div class="method-description">
|
404
|
+
<p>
|
405
|
+
Returns a <a href="QueueEntry.html">QueueEntry</a> or <a
|
406
|
+
href="TransactionBundle.html">TransactionBundle</a> that should approach as
|
407
|
+
closely as possible the requested execution time (limited to the specified
|
408
|
+
number of entries). maxNum can be nil if an upper limit on the number of
|
409
|
+
commands is not desired.
|
410
|
+
</p>
|
411
|
+
</div>
|
412
|
+
</div>
|
413
|
+
|
414
|
+
<div id="method-M000109" class="method-detail">
|
415
|
+
<a name="M000109"></a>
|
416
|
+
|
417
|
+
<div class="method-heading">
|
418
|
+
<a href="Queue.src/M000109.html" target="Code" class="method-signature"
|
419
|
+
onclick="popupCode('Queue.src/M000109.html');return false;">
|
420
|
+
<span class="method-name">do</span><span class="method-args">(cmnd)</span>
|
421
|
+
</a>
|
422
|
+
</div>
|
423
|
+
|
424
|
+
<div class="method-description">
|
425
|
+
</div>
|
426
|
+
</div>
|
427
|
+
|
428
|
+
<div id="method-M000108" class="method-detail">
|
429
|
+
<a name="M000108"></a>
|
430
|
+
|
431
|
+
<div class="method-heading">
|
432
|
+
<a href="Queue.src/M000108.html" target="Code" class="method-signature"
|
433
|
+
onclick="popupCode('Queue.src/M000108.html');return false;">
|
434
|
+
<span class="method-name">enqueue</span><span class="method-args">(cmnd)</span>
|
435
|
+
</a>
|
436
|
+
</div>
|
437
|
+
|
438
|
+
<div class="method-description">
|
439
|
+
<p>
|
440
|
+
Add to the receiver a command which will be executed asynchronously.
|
441
|
+
</p>
|
442
|
+
</div>
|
443
|
+
</div>
|
444
|
+
|
445
|
+
<div id="method-M000112" class="method-detail">
|
446
|
+
<a name="M000112"></a>
|
447
|
+
|
448
|
+
<div class="method-heading">
|
449
|
+
<a href="Queue.src/M000112.html" target="Code" class="method-signature"
|
450
|
+
onclick="popupCode('Queue.src/M000112.html');return false;">
|
451
|
+
<span class="method-name">estimated_seconds</span><span class="method-args">()</span>
|
452
|
+
</a>
|
453
|
+
</div>
|
454
|
+
|
455
|
+
<div class="method-description">
|
456
|
+
<p>
|
457
|
+
Total estimated time of all entries available for execution
|
458
|
+
</p>
|
459
|
+
</div>
|
460
|
+
</div>
|
461
|
+
|
462
|
+
<div id="method-M000110" class="method-detail">
|
463
|
+
<a name="M000110"></a>
|
464
|
+
|
465
|
+
<div class="method-heading">
|
466
|
+
<a href="Queue.src/M000110.html" target="Code" class="method-signature"
|
467
|
+
onclick="popupCode('Queue.src/M000110.html');return false;">
|
468
|
+
<span class="method-name">notify_watchers</span><span class="method-args">(queueEntry)</span>
|
469
|
+
</a>
|
470
|
+
</div>
|
471
|
+
|
472
|
+
<div class="method-description">
|
473
|
+
</div>
|
474
|
+
</div>
|
475
|
+
|
476
|
+
<div id="method-M000111" class="method-detail">
|
477
|
+
<a name="M000111"></a>
|
478
|
+
|
479
|
+
<div class="method-heading">
|
480
|
+
<a href="Queue.src/M000111.html" target="Code" class="method-signature"
|
481
|
+
onclick="popupCode('Queue.src/M000111.html');return false;">
|
482
|
+
<span class="method-name">num_available</span><span class="method-args">()</span>
|
483
|
+
</a>
|
484
|
+
</div>
|
485
|
+
|
486
|
+
<div class="method-description">
|
487
|
+
<p>
|
488
|
+
Number of entries available for execution.
|
489
|
+
</p>
|
490
|
+
</div>
|
491
|
+
</div>
|
492
|
+
|
493
|
+
<div id="method-M000118" class="method-detail">
|
494
|
+
<a name="M000118"></a>
|
495
|
+
|
496
|
+
<div class="method-heading">
|
497
|
+
<a href="Queue.src/M000118.html" target="Code" class="method-signature"
|
498
|
+
onclick="popupCode('Queue.src/M000118.html');return false;">
|
499
|
+
<span class="method-name">num_for_estimated_seconds</span><span class="method-args">(sec, maxNum=nil)</span>
|
500
|
+
</a>
|
501
|
+
</div>
|
502
|
+
|
503
|
+
<div class="method-description">
|
504
|
+
<p>
|
505
|
+
Computes how many of the oldest available commands are necessary to
|
506
|
+
approach (but not exceed) an estimated execution time of sec seconds. An
|
507
|
+
upper limit can be specified: use nil if the upper limit is not desired.
|
508
|
+
</p>
|
509
|
+
</div>
|
510
|
+
</div>
|
511
|
+
|
512
|
+
<div id="method-M000122" class="method-detail">
|
513
|
+
<a name="M000122"></a>
|
514
|
+
|
515
|
+
<div class="method-heading">
|
516
|
+
<a href="Queue.src/M000122.html" target="Code" class="method-signature"
|
517
|
+
onclick="popupCode('Queue.src/M000122.html');return false;">
|
518
|
+
<span class="method-name">processed</span><span class="method-args">(entry)</span>
|
519
|
+
</a>
|
520
|
+
</div>
|
521
|
+
|
522
|
+
<div class="method-description">
|
523
|
+
<p>
|
524
|
+
The entry has been processed (not necessarily to completion). Remove the
|
525
|
+
receiver from claimed, and add the entry or its children to either history
|
526
|
+
or available. Return an (ideally empty) Array of those entries that have
|
527
|
+
been rescheduled.
|
528
|
+
</p>
|
529
|
+
</div>
|
530
|
+
</div>
|
531
|
+
|
532
|
+
<div id="method-M000107" class="method-detail">
|
533
|
+
<a name="M000107"></a>
|
534
|
+
|
535
|
+
<div class="method-heading">
|
536
|
+
<a href="Queue.src/M000107.html" target="Code" class="method-signature"
|
537
|
+
onclick="popupCode('Queue.src/M000107.html');return false;">
|
538
|
+
<span class="method-name">remove_watcher</span><span class="method-args">(watcher)</span>
|
539
|
+
</a>
|
540
|
+
</div>
|
541
|
+
|
542
|
+
<div class="method-description">
|
543
|
+
<p>
|
544
|
+
Deregister a watcher, so that it no longer recieves entry_added messages.
|
545
|
+
Returns the removed watcher (nil if it was not present)
|
546
|
+
</p>
|
547
|
+
</div>
|
548
|
+
</div>
|
549
|
+
|
550
|
+
|
551
|
+
</div>
|
552
|
+
|
553
|
+
|
554
|
+
</div>
|
555
|
+
|
556
|
+
|
557
|
+
<div id="validator-badges">
|
558
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
559
|
+
</div>
|
560
|
+
|
561
|
+
</body>
|
562
|
+
</html>
|