内部ScheduledExecutorService行为如何

时间:2016-07-22 07:13:58

标签: java asynchronous concurrency scheduledexecutorservice

我在流媒体应用中工作。作为应用程序的一部分,我实现了自适应流式算法。在测试期间,我只是在解码的一部分中使用i hack来延迟帧解码过程。

但是,通过在ScheduledExecutorService public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit); 上使用随机增加延迟来完成此黑客攻击

我注意到有些帧是在其他解码之前被发送的。 schedule()是否异步?

0 个答案:

没有答案
相关问题