game-executor

game-executor

jwpttcg66

采用Reactor模式,注册readycreate, readyfinish事件到更新服务UpdateService,通过处理后进行模型缓存,然后将消息转化为 dispatchThread消息分配模型需要的create, update, finish的事件进行单线程循环调度 。调度过程使用了系统预置锁模型,来进行多线程唤醒机制,将所有的update循环检测进行多 线程调度,多线程更新服务使用future-listener机制,在完成调度后,根据模型状态,如果模型存活重新将消息转化为update 事件注册到dispatchThread消息分配模型进行循环处理。如果模型死亡将消息转化为readyfinish事件注册到更新服务UpdateServic进行销毁 。这个系统实现了模型自动缓存,多线程异步循环调度模型更新,自动处理模型死亡事件进行销毁。 支持将多个updater绑定到同一个更新线程上,减少线程调度。

30 Stars
39 Forks
30 Watchers
Java Language
apache-2.0 License
Cost to Build
$21.6K
Market Value
$30.9K

Growth over time

7 data points  ·  2021-08-01 → 2023-07-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about game-executor

Question copied to clipboard

What is the jwpttcg66/game-executor GitHub project? Description: "采用Reactor模式,注册readycreate, readyfinish事件到更新服务UpdateService,通过处理后进行模型缓存,然后将消息转化为 dispatchThread消息分配模型需要的create, update, finish的事件进行单线程循环调度 。调度过程使用了系统预置锁模型,来进行多线程唤醒机制,将所有的update循环检测进行多 线程调度,多线程更新服务使用future-listener机制,在完成调度后,根据模型状态,如果模型存活重新将消息转化为update 事件注册到dispatchThread消息分配模型进行循环处理。如果模型死亡将消息转化为readyfinish事件注册到更新服务UpdateServic进行销毁 。这个系统实现了模型自动缓存,多线程异步循环调度模型更新,自动处理模型死亡事件进行销毁。 支持将多个updater绑定到同一个更新线程上,减少线程调度。". Written in Java. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone game-executor

Clone via HTTPS

git clone https://github.com/jwpttcg66/game-executor.git

Clone via SSH

[email protected]:jwpttcg66/game-executor.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the game-executor issue tracker:

Open GitHub Issues