úÎÁѾ:      !"#$%&'()*+,-./0123456789H0Exceptions generated from the beanstalkd server DClient attempted to ignore the only tube in its watch list (clients ) must always watch one or more tubes).  Timeout for reserveJobWithTimeout( expired before a job became available. ;Not strictly an error condition, this indicates a job this 0 client has reserved is about to expire. See   Shttp://groups.google.com/group/beanstalk-talk/browse_thread/thread/232d0cac5bebe30f  for a detailed explanation. 9This library failed to terminate a job body with a CR-LF > terminator. Should never occur, if it does it is a bug in  hbeanstalk. A !, call included a body larger than the server's   max-job-size setting allows. =The server did not recognize a command. Should never occur, 8 this is either a bug in the hbeanstalk library or an  incompatible server version. =Client sent a command that was not understood. May indicate 2 a bad argument list or other format violation. <The server is in drain mode, and is not accepting new jobs. JThe server detected an internal error. If this happens, please report to   -http://groups.google.com/group/beanstalk-talk. CThe server did not have enough memory available to create the job. 7Job does not exist, or is not reserved by this client. *States describing the lifecycle of a job.  Buried, can be resurrected with / *Delayed, waiting to be put in ready queue Reserved by a worker Ready, retrievable with " ?Information essential to performing a job and operating on it. Job numeric identifier  Job body  Beanstalk Server, wrapped in an : for synchronizing access A to the server socket. As many of these can be created as are B needed, but jobs are associated to a single server session and  must be released/,deleted with the same session that reserved  them. Predicate to detect   Predicate to detect   Predicate to detect   Predicate to detect  Predicate to detect  Predicate to detect  Predicate to detect  Predicate to detect  Predicate to detect   Connect to a beanstalkd server. Hostname of beanstalkd server Port number of server )Server object for commands to operate on ^Disconnect from a beanstalkd server. Any jobs reserved from this connection will be released Beanstalk server !BPut a new job on the current tube that was selected with useTube. A Specify numeric priority, delay before becoming active, a limit @ on the time-to-run, and a job body. Returns job state and ID. Beanstalk server <Job priority: an integer less than 2**32. Jobs with smaller - priorities are scheduled before jobs with : larger priorities. The most urgent priority is 0; the ( least urgent priority is 4294967295. 4Number of seconds to delay putting the job into the 7 ready queue. Until that time expires, the job will  have a state of . 3Maximum time-to-run in seconds for a reserved job. 4 This timer starts when a job is reserved. If it  expires without a $, %,  &, or . command being run, the job 8 will be placed back on the ready queue. The minimum  value is 1.  Job body. *State of the newly created job and its ID "AReserve a new job from the watched tube list, blocking until one  becomes available.  may be thrown if a job 3 reserved by the same client is about to expire. Beanstalk server Job reserved by this client #LReserve a job from the watched tube list, blocking for the specified number I of seconds or until a job is returned. If no jobs are found before the  timeout value, a * will be thrown. If another reserved job ' is about to exceed its time-to-run, a  will be thrown. Beanstalk server "Time in seconds to wait for a job ( to become available. Once this time  passes, a  will be  thrown. Job reserved by this client $ADelete a job to indicate that it has been completed. If the job E does not exist, was not reserved by this client, or is not in the   or   state, a   will be thrown. Beanstalk server ID of the job to delete %NIndicate that a job should be released back to the tube for another consumer. Beanstalk server ID of the job to release New priority to assign the job 2Delay before the job is placed on the ready queue &*Bury a job so that it cannot be reserved. Beanstalk server ID of the job to bury New priority to assign the job ;beanstalkd server response 'BAssign a tube for new jobs created with put command. If the tube ? does not already exist, it will be created. Initially, all $ sessions will use the tube named "default". Beanstalk server Name of tube to watch (6Add a named tube to the watch list, those tubes which  " will request jobs from. Beanstalk server Name of tube to watch (Number of tubes currently being watched )ARemoves the named tube to watch list. If the tube being ignored . is the only one currently being watched, a   is thrown. Beanstalk server Name of tube to ignore (Number of tubes currently being watched *&Inspect a specific job in the system. Beanstalk server #ID of job to get information about Job definition +7Inspect the next ready job on the currently used tube. Beanstalk server Job definition ,RInspect the delayed job with shortest delay remaining on the currently used tube. Beanstalk server Job definition -8Inspect the next buried job on the currently used tube. Beanstalk server Job definition <.[Update the Time-To-Run (TTR) value for a job, giving a worker more time before job expiry. Beanstalk server  ID of job />Move jobs from current tube into ready queue. If buried jobs C exist, only those will be moved, otherwise delayed jobs will be  made ready. Beanstalk server Number of jobs to kick Number of jobs actually kicked =>0>Return statistical information about a job. Keys that can be . expected to be returned are the following:  id ID of the job. tube! The tube that contains this job state State of the job, either "ready", "delayed", "reserved", or "buried" pri Priority of the job age Time in seconds since the ! command created this job  time-left1 Time in seconds until this job is placed in the 7 ready queue, if it is currently reserved or delayed reserves, Number of times this job has been reserved timeouts< Number of times this job has timed out after a reservation releases, Number of times this job has been released buries* Number of times this job has been buried kicks* Number of times this job has been kicked ISee the Beanstalk protocol docs for the definitive list and definitions. Beanstalk server  ID of job  Key-value map of job statistics 1?Return statistical information about a tube. Keys that can be . expected to be returned are the following:  name Name of the tube current-jobs-urgent( Number of jobs in this tube with state  , with priority less than 1024 current-jobs-ready( Number of jobs in this tube with state   current-jobs-reserved( Number of jobs in this tube with state   current-jobs-delayed( Number of jobs in this tube with state   current-jobs-buried( Number of jobs in this tube with state     total-jobs4 Number of jobs that have been created in this tube  since it was created current-waiting. Number of clients that have issued a reserve > command for this tube, and are still blocking waiting on a  response pause- Number of seconds this tube has been paused cmd-pause-tube- Number of seconds this tube has been paused pause-time-left/ Seconds remaining until this tube accepts job  reservations ISee the Beanstalk protocol docs for the definitive list and definitions. Beanstalk server  Name of tube !Key-value map of tube statistics 2,Print stats to screen in a readable format. ,Key-value map of statistic names and values Screen output showing all " key => value" pairs 3Pretty print a list. List of names 4Screen output showing results with prefixed counter 4<Return statistical information about the server, across all > clients. Keys that can be expected to be returned are the  following:  *current-jobs-urgent Number of  jobs with priority less  than 1024 current-jobs-ready# Number of jobs in the ready queue current-jobs-reserved Number of jobs reserved current-jobs-delayed Number of delayed jobs current-jobs-buried Number of buried jobs cmd-put Cumulative number of ! commands issued cmd-peek Cumulative number of * commands issued cmd-peek-ready Cumulative number of + commands  issued cmd-peek-delayed Cumulative number of ,  commands issued cmd-peek-buried Cumulative number of - commands  issued  cmd-reserve Cumulative number of " commands issued cmd-use Cumulative number of ' commands issued  cmd-watch Cumulative number of ( commands issued  cmd-ignore Cumulative number of ) commands issued  cmd-delete Cumulative number of $ commands issued  cmd-release Cumulative number of % commands issued cmd-bury Cumulative number of & commands issued cmd-kick Cumulative number of / commands issued  cmd-stats Cumulative number of 4 commands issued  cmd-stats-job Cumulative number of 0 commands issued cmd-stats-tube Cumulative number of 1 commands  issued cmd-list-tubes Cumulative number of 6 commands  issued cmd-list-tube-used Cumulative number of 8  commands issued cmd-list-tubes-watched Cumulative number of  7 commands issued cmd-pause-tube Cumulative number of 5 commands  issued  job-timeouts0 Cumulative number of times a job has timed out  total-jobs Total count of jobs created  max-job-size( Maximum number of bytes for a job body  current-tubes" Current number of existing tubes current-connections& Number of currently open connections current-producers+ Number of currently open connections that  have issued at least one ! command current-workers+ Number of currently open connections that  have issued at least one " command current-waiting/ Number of currently open connections that are  blocking on a " or # command total-connections! Cumulative count of connections pid Process ID of the server version Server's version string  rusage-utime- The accumulated user CPU time of the server ' process in seconds and microseconds  rusage-stime/ The accumulated system CPU time of the server ' process in seconds and microseconds uptime0 The number of seconds since the server started binlog-oldest-index% The index of the oldest binlog file $ needed to store the current jobs binlog-current-index& The index of the current binlog file @ being written to. If the binlog is not active, this is zero binlog-max-size/ The maximum number of bytes for a binlog file & before a new binlog file is opened ISee the Beanstalk protocol docs for the definitive list and definitions. Beanstalk server #Key-value map of server statistics 5PPause a tube for a specified time, so that reservations are no longer accepted. Beanstalk server Name of tube to pause 9Number of seconds before reservations are accepted again 6List all existing tubes. Beanstalk server !Names of all tubes on the server 7List all watched tubes. Beanstalk server %Names of all currently watched tubes 8List used tube. Beanstalk server Name of current used tube ?@9=Count number of jobs in a tube with a state in a given list. @ This is not part of the beanstalk protocol spec, so multiple E commands are issued to retrieve the count. Therefore, the result @ may not be consistent (it does not represent one snapshot in  time). Beanstalk server Name of tube to inspect List of valid states for count .Number of jobs with a state in the valid list ABCDEFGH:  !"#$%&'()*+,-./0123456789: !%"#$&*+,-/.'()5678014923  :    !"#$%&'()*+,-./0123456789I      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLhbeanstalk-0.2Network.BeanstalkBeanstalkExceptionNotIgnoredExceptionTimedOutExceptionDeadlineSoonExceptionExpectedCRLFExceptionJobTooBigExceptionUnknownCommandExceptionBadFormatExceptionDrainingExceptionInternalErrorExceptionOutOfMemoryExceptionNotFoundExceptionJobStateBURIEDDELAYEDRESERVEDREADYJobjob_idjob_bodyBeanstalkServerisNotFoundExceptionisOutOfMemoryExceptionisInternalErrorExceptionisDrainingExceptionisBadFormatExceptionisJobTooBigExceptionisDeadlineSoonExceptionisTimedOutExceptionisNotIgnoredExceptionconnectBeanstalkdisconnectBeanstalkputJob reserveJobreserveJobWithTimeout deleteJob releaseJobburyJobuseTube watchTube ignoreTubepeekJob peekReadyJobpeekDelayedJob peekBuriedJobtouchJobkickJobsstatsJob statsTube printStats printList statsServer pauseTube listTubeslistTubesWatched listTubeUsedjobCountWithStatebaseGHC.MVarMVarcheckForBeanstalkErrors genericPeek parseKicked genericStats parseUsedTube genericListreadLine parseWatchingparsePut parseReserve parseOkLenparseFoundIdLen parseIntBS recvBytes