]> git.mxchange.org Git - hub.git/commit
A lot new methods/class added and many cleanups:
authorRoland Häder <roland@mxchange.org>
Sat, 12 Mar 2011 00:24:29 +0000 (00:24 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 12 Mar 2011 00:24:29 +0000 (00:24 +0000)
commitaababdab2089856dbc7da45f437aaf1811a10b28
treed5b20098bc214a5e84f8673a9ad8bf61c81dbe2f
parent01c1eee4daca999fb09fb116c19efd589cf0cba8
A lot new methods/class added and many cleanups:
- Double-quotes converted to single to speed-up things a little
- Wrong BaseconnectionInstance fixed
- New methods introduced to cruncher:
  + doFetchWorkUnits(): To fetch WUs or generate test units
  + enableIsActive/isActive(): To test/set if the cruncher is active
  + initBufferQueues(): To initialize in/out buffer queues
- addExtraCruncherFilters() renamed to addExtraFilters()
- This method has now project-wide a Controller instance as first argument
- Dublicate method call to addExtraFilters() removed which happens in the
  rewriting process
- $appInstance renamed to $applicationInstance to have a better naming
  convention
- Some deprecated classes removed (they where named wrong)
- BaseHubCruncher (a generic class) extended:
  + It does now check if the in-buffer queue is filled (depending on a
    configurable threshold)
  + It implements initBufferQueues() from CruncherHelper interface
- Copyright fixed in HubMcryptCruncher
- The idle-loop task is now "genericly" registered in the TaskHandler class:
  + This implies that all task-based application will always have at least
    one (but really generic) task.
  + The method hasTasksLeft() will return 'true' in all situations unless the
    idle-loop task "kills" itself
- Generic cruncher-activation filter added
- The mentioned buffer queues are now initialized by a newly added filter class
  and handled by an own task class
- More minor code-cleanups
- TODOs.txt updated
37 files changed:
.gitattributes
application/hub/config.php
application/hub/data.php
application/hub/init.php
application/hub/interfaces/cruncher/class_CruncherHelper.php
application/hub/interfaces/package/fragmenter/class_Fragmentable.php
application/hub/main/commands/console/class_HubConsoleCruncherCommand.php
application/hub/main/commands/console/class_HubConsoleMainCommand.php
application/hub/main/cruncher/class_BaseHubCruncher.php
application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php
application/hub/main/cruncher/test/.htaccess [deleted file]
application/hub/main/cruncher/test/class_HubMcryptCruncher.php [deleted file]
application/hub/main/cruncher/test/class_HubTestCruncher.php [deleted file]
application/hub/main/filter/bootstrap/cruncher/class_CruncherBootstrap
application/hub/main/filter/bootstrap/cruncher/class_CruncherBootstrapBufferQueueInitializerFilter.php [new file with mode: 0644]
application/hub/main/filter/bootstrap/cruncher/class_CruncherBootstrapExtraBootstrappingFilter.php
application/hub/main/filter/bootstrap/cruncher/class_CruncherBootstrapGenericActivationFilter.php [new file with mode: 0644]
application/hub/main/filter/cruncher/class_CruncherInitializationFilter.php
application/hub/main/filter/node/class_NodeInitializationFilter.php
application/hub/main/filter/task/cruncher/class_CruncherTaskHandlerInitializerFilter.php
application/hub/main/filter/task/node/class_NodeTaskHandlerInitializerFilter.php
application/hub/main/handler/tasks/class_TaskHandler.php
application/hub/main/helper/hub/announcement/class_HubDescriptorHelper.php
application/hub/main/helper/hub/connection/class_HubSelfConnectHelper.php
application/hub/main/package/fragmenter/class_PackageFragmenter.php
application/hub/main/resolver/command/console/class_HubConsoleCommandResolver.php
application/hub/main/resolver/controller/console/class_HubConsoleControllerResolver.php
application/hub/main/tags/package/class_PackageTags.php
application/hub/main/tasks/class_
application/hub/main/tasks/cruncher/.htaccess [new file with mode: 0644]
application/hub/main/tasks/cruncher/class_ [new file with mode: 0644]
application/hub/main/tasks/cruncher/class_CruncherWorkUnitFetcherTask.php [new file with mode: 0644]
application/hub/main/template/announcement/class_AnnouncementTemplateEngine.php
application/hub/main/template/connect/class_SelfConnectTemplateEngine.php
application/hub/main/template/objects/class_ObjectRegistryTemplateEngine.php
docs/TODOs.txt
index.php