摘要
设计并实现一种带锁机制的对象池调度模式,为每个活动构造一个对象池,活动的所有实例存入对象池中,根据活动类型执行不同的实例调度策略。采用对象池模式,每个活动的多个实例可以实现同步调度并且不会有冲突,同时锁机制的设计也使得共享数据能够安全访问。
This paper designed and implemented a lock mechanism of object pool scheduling model, constructs an object pool for each activity, the activity of all instances in the object pool, depending on the type of activity instances perform different scheduling policies.USES the object pool pattern, multiple instances of each activity can realize synchronous scheduling and there would be no conflict, at the same time, the design of locking mechanism enables the sharing data to secure access.
出处
《现代工业经济和信息化》
2016年第15期64-67,共4页
Modern Industrial Economy and Informationization
关键词
工作流
活动多实例
对象池
同步调度
数据共享
work flow
multiple instance
objective pool
synchronization schedule
data sharing