BackgroundQueueProcessingJob.st
changeset 2913 e7c9fce5bd3a
parent 2735 1960c3957377
child 3048 ee0259ea01c5
equal deleted inserted replaced
2912:2417be04fe10 2913:e7c9fce5bd3a
   191     "Created: / 28-04-2011 / 20:36:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   191     "Created: / 28-04-2011 / 20:36:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   192 ! !
   192 ! !
   193 
   193 
   194 !BackgroundQueueProcessingJob methodsFor:'queries'!
   194 !BackgroundQueueProcessingJob methodsFor:'queries'!
   195 
   195 
   196 numberIfItemsInQueue
   196 numberOfItemsInQueue
   197     "Returns number of items waiting to be processed. 
   197     "Returns number of items waiting to be processed. 
   198      May not be accurate as there is no synchronization
   198      May not be accurate as there is no synchronization
   199      (intentionally, for performance reasons)"
   199      (intentionally, for performance reasons)"
   200 
   200     
   201     ^queue size
   201     ^ queue size
   202 
   202 
   203     "Created: / 06-12-2011 / 16:01:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   203     "Created: / 06-12-2011 / 16:01:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   204 ! !
   204 ! !
   205 
   205 
   206 !BackgroundQueueProcessingJob methodsFor:'start & stop'!
   206 !BackgroundQueueProcessingJob methodsFor:'start & stop'!
   241 ! !
   241 ! !
   242 
   242 
   243 !BackgroundQueueProcessingJob class methodsFor:'documentation'!
   243 !BackgroundQueueProcessingJob class methodsFor:'documentation'!
   244 
   244 
   245 version
   245 version
   246     ^ '$Header: /cvs/stx/stx/libbasic2/BackgroundQueueProcessingJob.st,v 1.13 2012-04-09 17:00:41 vrany Exp $'
   246     ^ '$Header: /cvs/stx/stx/libbasic2/BackgroundQueueProcessingJob.st,v 1.14 2013-03-12 11:15:55 vrany Exp $'
   247 !
   247 !
   248 
   248 
   249 version_CVS
   249 version_CVS
   250     ^ '$Header: /cvs/stx/stx/libbasic2/BackgroundQueueProcessingJob.st,v 1.13 2012-04-09 17:00:41 vrany Exp $'
   250     ^ '$Header: /cvs/stx/stx/libbasic2/BackgroundQueueProcessingJob.st,v 1.14 2013-03-12 11:15:55 vrany Exp $'
   251 !
   251 !
   252 
   252 
   253 version_SVN
   253 version_SVN
   254     ^ '§Id§'
   254     ^ '§Id§'
   255 ! !
   255 ! !
       
   256