]> git.mxchange.org Git - hub.git/commit
Cruncher continued and rewritten to use states:
authorRoland Häder <roland@mxchange.org>
Tue, 5 Apr 2011 23:33:13 +0000 (23:33 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 5 Apr 2011 23:33:13 +0000 (23:33 +0000)
commiteedbbb80ac6f49f2d43e3ae9a18008a25cfdc16e
tree4e636b9c61042af06ef1970c375a66b1eb0f7152
parentecfe3c8077fa94964dfab3423e189db81b721a74
Cruncher continued and rewritten to use states:
- States 'init' and 'virgin' introduced
- Needed cruncher parts refactured to use the new states
- Creation of node/cruncher states is now done in factories
- Key producer added which will produce keys if the required state 'virgin' is
  beging detected. This producer works without a loop which is recommended for
  task-based applications
- A lot other improvements
- TODOs.txt updated
43 files changed:
.gitattributes
application/hub/config.php
application/hub/interfaces/executor/.htaccess [new file with mode: 0644]
application/hub/interfaces/executor/class_Executor.php [new file with mode: 0644]
application/hub/interfaces/producer/class_ [new file with mode: 0644]
application/hub/interfaces/producer/keys/.htaccess [new file with mode: 0644]
application/hub/interfaces/producer/keys/class_KeyProducer.php [new file with mode: 0644]
application/hub/interfaces/producer/work_units/class_UnitProducer.php
application/hub/interfaces/states/class_Stateable.php
application/hub/main/class_BaseHubSystem.php
application/hub/main/cruncher/class_BaseHubCruncher.php
application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php
application/hub/main/factories/states/class_StateFactory.php
application/hub/main/factories/states/cruncher/.htaccess [new file with mode: 0644]
application/hub/main/factories/states/cruncher/class_CruncherStateFactory.php [new file with mode: 0644]
application/hub/main/factories/states/node/.htaccess [new file with mode: 0644]
application/hub/main/factories/states/node/class_NodeStateFactory.php [new file with mode: 0644]
application/hub/main/filter/task/cruncher/class_CruncherTaskHandlerInitializerFilter.php
application/hub/main/iterator/producer/keys/class_TestUnitKeyProducerIterator.php
application/hub/main/nodes/class_BaseHubNode.php
application/hub/main/producer/class_BaseProducer.php
application/hub/main/producer/cruncher/class_BaseKeyProducer.php [new file with mode: 0644]
application/hub/main/producer/cruncher/class_BaseUnitProducer.php
application/hub/main/producer/cruncher/keys/.htaccess [new file with mode: 0644]
application/hub/main/producer/cruncher/keys/class_CruncherKeyProducer.php [new file with mode: 0644]
application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php
application/hub/main/source/units/class_TestUnitSource.php
application/hub/main/states/class_BaseState.php
application/hub/main/states/cruncher/.htaccess [new file with mode: 0644]
application/hub/main/states/cruncher/class_ [new file with mode: 0644]
application/hub/main/states/cruncher/class_BaseCruncherState.php [new file with mode: 0644]
application/hub/main/states/cruncher/init/.htaccess [new file with mode: 0644]
application/hub/main/states/cruncher/init/class_CruncherInitState.php [new file with mode: 0644]
application/hub/main/states/cruncher/virgin/.htaccess [new file with mode: 0644]
application/hub/main/states/cruncher/virgin/class_CruncherVirginState.php [new file with mode: 0644]
application/hub/main/states/node/active/class_NodeActiveState.php
application/hub/main/states/node/announced/class_NodeAnnouncedState.php
application/hub/main/states/node/class_
application/hub/main/states/node/init/class_NodeInitState.php
application/hub/main/states/node/virgin/class_NodeVirginState.php
application/hub/main/tasks/cruncher/class_CruncherKeyProducerTask.php [new file with mode: 0644]
application/hub/main/tasks/cruncher/class_CruncherTestUnitProducerTask.php
docs/TODOs.txt