| 接口 | 说明 |
|---|---|
| BeanstalkClient |
BeanstalkClient is a full amount interface, mainly used for
management. |
| JobConsumer |
JobConsumer is a kind of client beanstalk, that is responsible for
the consumer job. |
| JobProducer |
JobProducer is a kind of client beanstalk, that is responsible for
the production job. |
| 类 | 说明 |
|---|---|
| BeanstalkClientFactory |
BeanstalkClientFactory is a factory class, that is responsible for
the creation beanstalk client. |
| Configuration | |
| Job |
beanstalk job entity.
|
| 异常错误 | 说明 |
|---|---|
| BadFormatException |
The client sent a command line that was not well-formed.
|
| ConnectionException | |
| DrainingException |
This means that the server has been put into "drain mode" and is no longer
accepting new jobs.
|
| InternalErrorException |
This indicates a bug in the server.
|
| OutOfMemoryException |
The server cannot allocate enough memory for the job.
|
| UnknownCommandException |
The client/server sent a command that the server/client does not know.
|
Copyright © 2012~2016–2019 dinstone. All rights reserved.