Java的延续 [英] Continuations in Java

查看:67
本文介绍了Java的延续的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Java中是否有很好的延续性实现?

Is there a good implementation of continuations in Java?

如果是这样,开销是多少?在设计JVM时就没有考虑到这类问题,对吗?那么这种违背原则吗?

If so, what is the overhead like? The JVM wasn't designed with these sort of things in mind, right? So is this kind of going against the grain?

推荐答案

请参阅Apache Javaflow http://commons.apache.org/sandbox/javaflow/

See Apache Javaflow http://commons.apache.org/sandbox/javaflow/

这是正在开发中的唯一Java延续包.另一个是RIFE,我不确定它处于哪个状态.

It's the only continuation package for java that's actively under development. The other one, RIFE, I'm not sure which state it's in.

这篇关于Java的延续的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆