runnable
adj. 可追捕的;可猎取的;适合猎取的
2026-03-22 07:25 浏览次数 30
adj. 可追捕的;可猎取的;适合猎取的
1. capable of being run especially suitable to be hunted
runnable stag
Runnable Queue可运行队列
Runnable Object可运行的对象
runnable entities运行实体
implements Runnable多线程
runnable state可运行态
Runnable callback回调方法
Runnable Service可运行服务
Not Runnable非运行态
runnable task可运行任务
we recommend you browse the source and see the ideas we have been discussing implemented as runnable code.
我们建议您阅读源代码,看看我们所讨论的理论如何实现为可运行的代码。
sometimes throwing interruptedexception is not an option, such as when a task defined by runnable calls an interruptible method.
有时候抛出interruptedexception并不合适,例如当由runnable定义的任务调用一个可中断的方法时,就是如此。
when a setter (a member function that updates a field) of a class that implements the runnable interface is not synchronized, then you should document your reasons why.
如果实现 runnable接口的类的setter(更新字段的成员函数)没有同步,则应该写明原因。
the executor interface accepts runnable objects to execute.
executor接口接受runnable对象并执行。
in the constructor of stockquotegenerator class, which is a singleton class, we are starting a new thread and assigning a runnable object to that thread.
在stockquotegenerator 类(一个单态类)的构造函数中,我们启动了一个新线程,并向该线程分配了一个runnable对象。
there are lots of runnable threads and not enough cpu cycles to process what needs to be done.
有大量可运行线程,但没有足够的cpu周期来处理需要完成的工作。
your nascent developer community needs to have something runnable and testable to play with.
你初建的社区至少需要一个可以运行和测试的东西。
as figure 3 shows, the provider can be constructed to play a role of an asynchronous invocation handler that implements the runnable interface.
如图3所示,可以构造提供程序来扮演实现 runnable接口的异步调用处理程序的角色。
therefore, each runnable task chases the other to maintain a balance of execution across the set of runnable tasks.
因此,每个可运行的任务都会追赶其他任务以维持整个可运行任务集合的执行平衡。
it implements the run() method of the runnable interface and uses a thread to check if it is time to start making coffee.
它实现了runnable接口的run()方法并使用线程来检查是否该开始煮咖啡了。
it「s just that all the baggage that is attached to using runnable or thread (such as the keyword synchronized) is reduced.
只是使用runnable或thread的附加实体(比如关键字synchronized)更少了。
using a thread pool to work its way through the runnable operations
使用线程池来完成 runnable操作
the connection factory singleton could have been extended with a runnable interface to provide a connection close on inactivity timeout.
独立连接工厂可以使用runnable接口进行扩展,以提供基于非活动超时的连接关闭。
the runnable task performed by the service is the bulk of the code from listing 5. i」ve added some additional checks to improve building the urls for the next page.
该服务执行的runnable任务是 清单5中的大量代码。我添加了一些额外的检查,以改进构建下一个页面的url的过程。
now we cannot use runnable as our task representation; we must create a new representation that allows exceptions to be thrown across the method invocation.
现在我们不能使用runnable 来表示执行的任务,而必须创建一种新的表示方法以允许在方法调用中抛出异常。
it is a class that implements the runnable interface, and launches some threads that currently do nothing more than log using log4j.
它是一个实现 runnable接口的类,并运行一些除了使用log4j 外,其他什么也不做的线程。
each cpu on a system has its own dedicated run queue, which is a list of runnable threads sorted by thread priority value.
系统上的每个cpu都有自己专用的运行队列,该队列是按线程优先级值排序的可运行线程的列表。
the brokerconnection class implements the runnable interface and manages client application connections to the broker.
brokerconnection类实现了runnable接口,并且管理客户端应用程序与代理的连接。
you'll need to have that application built and runnable in order to proceed with the examples here.
您需要构建该应用程序,确保它是可运行的,这样才能继续学习本文的示例。
the executor interface has a single method — execute() — that accepts the runnable parameter.
executor接口有一个execute()方法,它接受runnable参数。